Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
How do i need to change the below dax?
* goal : I am trying to calculate a percentage and use the All function to keep the denominator from being affected by the filtering of the visual.
Solved! Go to Solution.
Hi @22LACMT ,
As far as I know, ALL() function should add in the table part of your code. Try the measure as below.
tier1exposure%fixedgrandtotal =
(
DIVIDE (
'percent'[Tier1Exposure],
SUMX ( ALL ( 'percent' ), 'percent'[Tier1Exposure] )
)
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @22LACMT ,
As far as I know, ALL() function should add in the table part of your code. Try the measure as below.
tier1exposure%fixedgrandtotal =
(
DIVIDE (
'percent'[Tier1Exposure],
SUMX ( ALL ( 'percent' ), 'percent'[Tier1Exposure] )
)
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.