9 Replies Latest reply on Feb 7, 2018 7:49 AM by Xevi xevi

# Bar chart with independent percentages tags

Hi,

I just want build a bar chart with two colors. In every color I need to tag a percentage. Every percentage of every color is independent. I mean, the first percentage is for example 50%, and the other percentage of the bar (the part with other color) is 75%. I mean, the calculation its not percentage of total, its percentage of x and percentage of y. Then I need that the tags are correctly marked in the chart. i tried to do it, but the tags are duplicated. I need something like image I attach.

• ###### 2. Re: Bar chart with independent percentages tags

Do you want to achieve this ?

• ###### 3. Re: Bar chart with independent percentages tags

Not exactly. In your chart, the sum of percetatges is100%. I want independent percentatges in every color.

Enviat des del meu telèfon intel·ligent Samsung Galaxy.

• ###### 4. Re: Bar chart with independent percentages tags

Compute your table calculation using both the dimensions.

• ###### 5. Re: Bar chart with independent percentages tags

May be this:

If not this then attach some mock up ...some hand drawn something..you know

Thanks

Deepak

• ###### 6. Re: Bar chart with independent percentages tags

Thanks. Yes, it's something like that. But I don't know what kinf of calculation of the Column Sales, in order that tag the labels in the bars.

How do you include the labels in the bars wioth different percentages?

Thank you

• ###### 7. Re: Bar chart with independent percentages tags

Right Click Sum (Sales) in Column>EDIT Calculation>and from Menu Pl check what I did.

Thanks

Deepak

• ###### 8. Re: Bar chart with independent percentages tags

I cannot open your workbook because of the version of Tableau.

• ###### 9. Re: Bar chart with independent percentages tags

Hi Deepak,

I attach the workbook. I need the percentages of the total of Yes in green bar, and the percentage over the total of No in the ornage bar. I don't need the percentages over the total.

Thank you so much