The below blog is from Kate Crawford from the Information Lab. Her blog is located here!
Advanced Tables, or Fancy Tables as the Tableau Community calls them, are a formatting method for customizing row / column labels.
Use this technique when you...
Can't Edit Aliases for field labels
Create buttons with sets and / or parameters
Format dimensions with the marks shelf
Follow these steps to display lots of information, without a wall of text.
Your viewers will thank you!!
Result
To follow-along:
Connect to Sample Superstore
Add two blank worksheets, one for [Tableau headers] and one for [Table Rows].
Create a calculation for placeholders
Tableau worksheets can render multiple axes by added multiple measures to the Columns or Rows Shelf.
These axes can be customized using the Marks Shelf.
For Table Headers, we will create our own measure and add formatting to make it look like a field label.
Copy/Paste this calculation:
\\Table Header
MIN(0)
Drag the Placeholder Calculation into the view
![](https://static.wixstatic.com/media/fb3a64_0042f9fbf64043be9c3cf3d6d5517d2c~mv2.png/v1/fill/w_980,h_148,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/fb3a64_0042f9fbf64043be9c3cf3d6d5517d2c~mv2.png)
Four columns created using a MIN function calculation. The value is set to zero, so it centers the mark to a middle position on each axis. Adjust the MIN(<value>) and edit the axis range to reposition content.
Add content to the marks shelf
Click on each placeholder axis to pop open its mark shelf.
We will need to add values and format based on what we want to show (table headers, dimension, or measures as bars / shapes).
For Table Headers
Change the Mark Type to Text
Double-click the empty space on the Marks Shelf to create a blank pill.
![](https://static.wixstatic.com/media/fb3a64_19aad86e3d9f46afaba05e5b37598678~mv2.png/v1/fill/w_162,h_208,al_c,q_85,enc_auto/fb3a64_19aad86e3d9f46afaba05e5b37598678~mv2.png)
Type in double quotes ("") to convert the blank pill to a String value.
Type in the field label (i.e. "Name")
![](https://static.wixstatic.com/media/fb3a64_0466689e075a4317859795eba168df48~mv2.png/v1/fill/w_156,h_344,al_c,q_85,enc_auto/fb3a64_0466689e075a4317859795eba168df48~mv2.png)
For Row Measures:
Change the Mark Type to a Bar or Shape
Drag the Measure Value (green pill) onto the Marks card as a Detail
Format as desired.
![](https://static.wixstatic.com/media/fb3a64_3cd68574ab2444079b83fc9b7041afea~mv2.png/v1/fill/w_980,h_508,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/fb3a64_3cd68574ab2444079b83fc9b7041afea~mv2.png)
3.Add sheets to the dashboard
Using a vertical container:
Drag Table Headers Sheet
Drag in Table Rows Sheet
Set them both to Fit Width
![](https://static.wixstatic.com/media/fb3a64_cb50ce0271d64afc9b5eb4861a21f655~mv2.png/v1/fill/w_440,h_134,al_c,q_85,enc_auto/fb3a64_cb50ce0271d64afc9b5eb4861a21f655~mv2.png)
If the table is scrollable, add 16px right-outer padding to the table header layout
Comments