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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

% by category by year in scatter chart

Hello,

 

I have one chart as below:

 

It shows for each group, what is the % in total, and what is the % of female within that group. For example, for the biggest group (biggest dot), it accounted for 74% of the total population and 50% of this group is Female. 

 

I would like to see the trend for each group by year but after I put year as legend, the calculation of that '74%' becomes the % of total population but I would like this to be the % just for that year. 

 

 

scatter.png

 

The logic for those two measures are:

 

 

%GT Female = DIVIDE( sum([female]),CALCULATE(COUNT([id]),ALLSELECTED(table[group])))

 

%GT Payroll = DIVIDE( sum[id],CALCULATE(sum[id],ALLSELECTED(table)))

 

Thank you!

 

 

2 REPLIES 2
dedelman_clng
Community Champion
Community Champion

can you post some sample data?

Anonymous
Not applicable

up up thanks!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.