cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

## 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!

1 ACCEPTED SOLUTION
Super 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" :
diff from all =
CALCULATE(SUM('Table'[value]),'Table'[column]="value total")-[Main value]
Result :

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
2 REPLIES 2
Super 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" :
diff from all =
CALCULATE(SUM('Table'[value]),'Table'[column]="value total")-[Main value]
Result :

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
Super User

Is this what you are looking for?

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.