Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kpipower
New Member

visual meassure in donut chart and clustered bar chart

Hi

 

I have problem with the visual data in graphic.

 

example:

I have two industry and I want to know how is the % of female and male. First industry have 38% female and 62% male and second industry have 100% male and 0 % female.

 

My meassure indicate SUMX, 38% female first industry + 0% second industry and divide between 2 (number of industry) the result is 19% this is true, but in Donut Chart and Clustered Bar Chart  just I can see 38% of first industry and not 19% the result of my meassure.

 

what is the prroblem? I don't understand.

Regards

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @kpipower 

Assume [female] is a measure which you already have,

then create a measure to get the result of 19% as below,

"SUMX, 38% female first industry + 0% second industry and divide between 2 (number of industry) the result is 19% this is true,"

average-female = 
SUMX(ALL(Sheet9[industry]),[female])/CALCULATE(DISTINCTCOUNT(Sheet9[industry]),ALL(Sheet9))

13.png

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @kpipower 

Is this problem sloved?

If not, please let me know.

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-juanli-msft
Community Support
Community Support

Hi @kpipower 

Assume [female] is a measure which you already have,

then create a measure to get the result of 19% as below,

"SUMX, 38% female first industry + 0% second industry and divide between 2 (number of industry) the result is 19% this is true,"

average-female = 
SUMX(ALL(Sheet9[industry]),[female])/CALCULATE(DISTINCTCOUNT(Sheet9[industry]),ALL(Sheet9))

13.png

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vanessafvg
Super User
Super User

@kpipower 

 

are you able to provide the pbix file 

 

or please provide some data, with the actual measures as its hard to figure out what you asking





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.