Forum Discussion
Percentage in Piechart
Hello, I'm facing an issue with my pie chart. I have two different values. The 11 million is a part of the 61 million. So, the 61 million represents the whole amount, and the 11 million is specifically for the purchase of a special material. Now, I want to illustrate what portion of the 61 million constitutes this material. However, PowerBI is adding them up and showing the percentage of 61 million and 11 million in relation to 72 million (61 + 11). Can someone guide me on how to present the 61 million as the entire pie and show what part of it the 11 million represents? Thank you!
Hi Elijabrnc
You need 2 measures :
1 from the part that you want to show its dominance.Main value = CALCULATE(sum('Table'[value]),'Table'[column]="value 1")
2 for "others" :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quicklydiff from all =CALCULATE(SUM('Table'[value]),'Table'[column]="value total")-[Main value]Result :
2 Replies
- Ritaf1983Super User
Hi Elijabrnc
You need 2 measures :
1 from the part that you want to show its dominance.Main value = CALCULATE(sum('Table'[value]),'Table'[column]="value 1")
2 for "others" :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quicklydiff from all =CALCULATE(SUM('Table'[value]),'Table'[column]="value total")-[Main value]Result :
- AhmedxSuper User