❓ Can you put a dotted border on a bar in Tableau? ❌ Not really, but you can make it look like you did. A fellow Tableau developer at work had a requirement for a dotted bar on a Total of a Gantt chart, very similar to the image in this post. You can't currently do that in Tableau. But you CAN hack a look-alike: ✔ Create a separate worksheet with the total. ✔ Add it to you dashboard as a floating worksheet. ✔ Format the color of the worksheet to be the same as the bar. ✔ Add your border to the worksheet itself. ✔ Adjust the size (and continue to adjust by testing it on Server 🤣). With this method, the total value is still dynamic, and with a centered label, still viable as a single bar. A major weakness of this (as a Gantt chart add-on) is that it only really works for waterfall values that end positive and end in the maximum value - if the data is going to be refreshed. In those cases, you can size the total properly because Tableau will resize the elements to the same portion of the graph on the left every time. The value that I sized to equal the net after the last two negative categories is unlikely to be the appropriate size on updated data. However, it's fine if you're creating a final presentation. Maybe this (or a variant) is useful to someone out there. 🏗→🧠 Build to Learn! 💭🚶♀️🚶♂️ Follow for more. #tableau #data #analytics #VizoftheRay
Would it work for negative values with an invisible reference line conditionally on the sign() of the total gannt bar?
Innovative workaround, truly impressive. To further amplify your data visualization effects, consider leveraging layering techniques with dynamic parameters to introduce interactivity and complexity beyond standard visualizations, essentially creating multidimensional insights.
📈 Data → Decisions✔ | Balancing Design and Pragmatism in Tableau | 2024 Tableau Social Ambassador
8mohttps://public.tableau.com/app/profile/ray3296/viz/DottedBorderonBar/Profit