cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
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.

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.

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.

2 REPLIES 2
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.

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.

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.

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.