I can't get the file to open...I have v10. The screenshot isn't quite what I'm trying to do (but is very similar). I want that percentage value to show up next to each one as a mark label. But I do want to still show both (yes and no) and not just the yes ones. If you know how to do this...could you either do screenshots of the formulas and pages...or post to tableau public to make sure I can access it?
Hi Scott -
Use this calculation on the label. Make sure the table calc is set to compute using 'Purchased'
if attr([Purchased]) = 'Yes' then SUM([Number of Records]) / TOTAL(SUM([Number of Records])) END
This will only label the 'Yes' bar segment.