Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I want to create Non Additive Heirarchy Slicer.When user select Americas in Hierarchy slicer, then All value which is 200 should display in graph instead of Total 470.
Dataset
Date | Metric | Region | Country | Value |
2/1/2019 0:00 | EU | Americas | All | 200 |
2/1/2019 0:00 | EU | Americas | Canada | 100 |
2/1/2019 0:00 | EU | Americas | Mexico | 50 |
2/1/2019 0:00 | EU | Americas | US | 120 |
2/1/2019 0:00 | EU | Asia | All | 500 |
2/1/2019 0:00 | EU | Asia | China | 400 |
2/1/2019 0:00 | EU | Asia | India | 200 |
Solved! Go to Solution.
Hi @atul9063
You may create a measure like below:
Measure = IF ( HASONEVALUE ( Table3[Country] ), SUM ( Table3[Value] ), CALCULATE ( SUM ( Table3[Value] ), Table3[Country] = "ALL" ) )
Regards,
Cherie
Hi @atul9063
You may create a measure like below:
Measure = IF ( HASONEVALUE ( Table3[Country] ), SUM ( Table3[Value] ), CALCULATE ( SUM ( Table3[Value] ), Table3[Country] = "ALL" ) )
Regards,
Cherie
I have added two heirarchy slicer Client and UserType.As per above solution, its working fine for ClientType but not for UserType.For UserType is adding up values.Could you please check below DAX and let me know what i m doing wrong?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
52 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |