The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |