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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sarah2_williams
Helper III
Helper III

% of a filtered value from non filtered total

Hi all,

 

I am trying to create a measure which calculates the % of a filtered value from the total unfiltered.. I've got as far as getting the total 'Number of R' by the filtered 'Acceptance R (low level)' below - not sure where to go from here to then get this to show as a percentace of the total unfiltered 'Number of R'?

 

total by selected R = CALCULATE(sum('Aggregate 4'[Number of R]), 'Aggregate 4'[Acceptance R (low level)] = SELECTEDVALUE('Aggregate 4'[Acceptance R (low level)]))
 
Any help greatly appreciated.
 
Thanks
Sarah
2 ACCEPTED SOLUTIONS
v-yalanwu-msft
Community Support
Community Support

Hi, @sarah2_williams ;

You could try it .

total by selected R =
DIVIDE (
    CALCULATE ( SUM ( 'Aggregate 4'[Number of R] ), ALLSELECTED ( 'Aggregate 4' ) ),
    CALCULATE ( SUM ( 'Aggregate 4'[Number of R] ), ALL ( 'Aggregate 4' ) )
)

then change it type is percentage.

vyalanwumsft_0-1634519040532.png

Best Regards,
Community Support Team_ Yalan Wu
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

v-yalanwu-msft
Community Support
Community Support

Hi, @sarah2_williams ;

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan Wu
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

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @sarah2_williams ;

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @sarah2_williams ;

You could try it .

total by selected R =
DIVIDE (
    CALCULATE ( SUM ( 'Aggregate 4'[Number of R] ), ALLSELECTED ( 'Aggregate 4' ) ),
    CALCULATE ( SUM ( 'Aggregate 4'[Number of R] ), ALL ( 'Aggregate 4' ) )
)

then change it type is percentage.

vyalanwumsft_0-1634519040532.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors