March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello All,
I have Multiple Hierarchies.For few we have Dimension at every level in Hierarchy.For few Some Low Hierarchy is Blank.
If the Low Hierarchy is Blank ,I dont want to see the Blank row.
I implemented the solution using ISINSCOPE DAX for 2 Hierarchies,If there were more than How to do that??
Measure = IF(ISINSCOPE('Table'[Hier1]), IF(ISINSCOPE('Table'[Hier2]), IF(MAX('Table'[Hier2])=BLANK(),BLANK(),SUM([value])) , SUM([value])), SUM([value]))
How to achieve this scenario?
Solved! Go to Solution.
@Mahesh0016
Thanks for the reply.
I got the solution with the following DAX
@likhithar
Measure =
IF(ISINSCOPE('Table'[Hier1]),
IF(ISINSCOPE('Table'[Hier2]),
IF(ISBLANK('Table'[Hier2]),BLANK(),SUM([value])) ,
SUM([value])),
SUM([value]))
@Mahesh0016
Thanks for the reply.
I got the solution with the following DAX
@Mahesh0016 The Mreasure which I mentioned my Post works fine if have 2 Hierarchies . I have 4 Hierarchies which I attached in the Image,for 4 Hierarchies I need the Solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |