2 of 2 people found this helpful
If you drag the table calculation sum(profit) that gives you the percent of total in this view to the data pane on the left it will be saved as a calculated field.
Let's say you saved it as Calculation1.
Then you can write a calculated field like this and use it on Label shelf
STR(INT(sum(Profit))) + " ("+STR(ROUND(100*[Calculation1],2))+"%)"
Another approach, focused on the layouts options you have in Tableau is simply to edit the label:
and to reformat it the way you want:
Modified workbook attached.
Practice Jan 28_v1.twbx 1.1 MB
Thanks a lot!! I will implement it
Ohh That's cool different approach. Let me try it. Thanks a lot:)