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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.