Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello!!
I have an issue with the use of ISINSCOPE function, I hope someone could help me!
I want to remove the blank level of the hierachies, and im using some measures for this, but when delete the row, the next level is deleted too, and I dont want to delete.; only want to delete the level in blank.
Im included the example in the pbi file.
Thanks for the help.
Monica
Solved! Go to Solution.
hi, @Anonymous
Just try this formula as below:
Measure = IF ( IF ( ISINSCOPE ( Sheet1[GROUP_TYPE] ), 1, -1 ) * IF ( ISINSCOPE ( Sheet1[DESC] ), 1, -1 ) = -1 && SELECTEDVALUE(Sheet1[GROUP_TYPE]) = BLANK (), BLANK (), SUM ( Sheet1[VALUE] ) )
Result:
Best Regards,
Lin
hi, @Anonymous
Just try this formula as below:
Measure = IF ( IF ( ISINSCOPE ( Sheet1[GROUP_TYPE] ), 1, -1 ) * IF ( ISINSCOPE ( Sheet1[DESC] ), 1, -1 ) = -1 && SELECTEDVALUE(Sheet1[GROUP_TYPE]) = BLANK (), BLANK (), SUM ( Sheet1[VALUE] ) )
Result:
Best Regards,
Lin
Thanks for the help.
Greetings
Hi @Anonymous ,
From your Power BI File, I used a basic table to understand your question better
From this photo, you can see the blanks coming from Group_Type.
If you will hide it, it will also affect the columns with it.
For the workaround, You can substitute the blanks with other values or texts.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |