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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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