A simple step by step explanation with screenshots attached!
Tableau can only format based off one value. For example, you can have a chart that displays Sales and Profit, but you can only set color based on one of them.
What we really need is to be able to apply individual formatting to each column. This is where the “Dual-Axis Crosstab” comes in.
Here is a step wise analysis
Create a sample calculated field which will be used as the base for our columns.
- Drag the Calculated Field onto the “Columns” Shelf
- Change the “Mark” Type to “Text”
- Right-Click inside the Column -> Select “Format” -> Click the Icon that looks like a Pen, -> Remove “Zero Lines”
- Right-Click on the Axis Header -> Select “Edit Axis” -> Change the Title to something reasonable
- Still in the “Edit Axis” Window, open the “Tick Marks” Tab -> Select “None” and “None”
- Drag the Desired Measure onto the “Text” Shelf
- Resize the Column
- Drag the “Field” Calculated Field to the “Columns” Shelf and place it beside the previous one
- Next to the Word “Marks” above the “Marks” Shelf, Select the “Down Arrow” -> Select “Multiple Mark Types”
- Now, we can cycle between your different fields
- Drag another measure to the “Text” Shelf for the new field
- Repeat “Step 2” to clean this column up as well
Now, we can apply individual formatting to each column by cycling through them on the “Marks” Card. For example, you can color the “Profit” Column by “Profit” and color “Sales” by “Sales.”
Repeat the above process for adding any more measures you want. Add any dimensions you would like, to the “Rows” Shelf
Now, we can see that all “Orange” values should be looked into.
While this is a very simple representation, there is so much more that can be done here.
For more such informative blogs, keep a tab on TechBlog!
Until Next Time!
- Dynamic Pie Charts in Tableau
Tableau is arguably one of the most preferred data visualization tools in the Business Intelligence Industry. It converts raw data into easily understandable formats, enabling marketers, researchers, business owners, and…
- Removing Default ABC Placeholder in Tableau
Tableau, a multipurpose tool gives users the freedom to exercise their creativity when developing visually rich reporting. Among its various liberties of building new views, altering the default formats of…
- Tableau – Sets and Hierarchy functionality
Business Intelligence and visual data analysis are core requirements of today’s businesses. While there are numerous tools with such capabilities, Tableau is among the most preferred BI tool for its…
- Show/Hide Filter in Tableau
Despite the presence of several quick filters, legends, and other links, we may sometimes require more space to display data in the Tableau Dashboard. There’s, however, a restriction on the…
- Working with SQL Server Database on Microsoft Azure (Part 3)
This is the third and the final part of the series. We started with learning to register MS Azure and create SQL database & objects. Progressed to migrating the on-premise…
- Column Store Index in SQL Server 2012
This post is about the new feature, i.e., Column Store Index which is available since SQL 2012 version. Microsoft has released column store index to improve the performance by 10x.…