Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi I'm using 2 tables - one with data, and one with the hierarchy (teams). When I drilldown I always have a 'Blank' column. I know I can filter out the blanks using the filter panel, but that removes a team from the previous level where that was the lowest level in that particular hierarchy.
eg below with blanks selected in the Level 3 filter
At level 2 I get all 4 groups
And at Level 3 I have a 'blank' column which I don't want.
If I filter out the blanks in the Level 3 filter, I get this at level 2 - first group is missing as it was the lowest level in its hierarchy path.
I understand why this is happening, just not sure what to do about it. I've watched a number of videos, but I'm not sure how to use the information in this case (generally ISINSCOPE), as I'm using two tables, and they generally are looking at a matrix and using one table.
I hope this makes sense. Thanks in advance for your help.
Solved! Go to Solution.
Hi @justlearning50 - we'll use ISINSCOPE to determine which level of the hierarchy we are currently in and handle 'Blanks'
I have taken example with sales amount replace with your table and fields as per your reference.
Create a below DAX measure:
create displaysales to avoid blanks.
DisplaySales =
IF(
ISBLANK(SUM(DataTable[Sales])),
BLANK(),
SUM(DataTable[Sales])
)
use the above Displaysales measure in your conditional measure with hierarchy .
ConditionalDisplay =
IF(
ISINSCOPE(HierarchyTable[Level3]),
[DisplaySales], // Only show non-blank sales at Level 3
IF(
ISINSCOPE(HierarchyTable[Level2]),
IF(
NOT(ISBLANK([DisplaySales])),
[DisplaySales],
BLANK()
),
IF(
ISINSCOPE(HierarchyTable[Level1]),
[SalesAmount],
BLANK()
)
)
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @rajendraongole1 , this didn't quite work for me, maybe because I had more levels than I showed) but it helped me on the way, so thank you.
What did work in the end was this
measure 1
Hi @rajendraongole1 , this didn't quite work for me, maybe because I had more levels than I showed) but it helped me on the way, so thank you.
What did work in the end was this
measure 1
Hi @justlearning50 - we'll use ISINSCOPE to determine which level of the hierarchy we are currently in and handle 'Blanks'
I have taken example with sales amount replace with your table and fields as per your reference.
Create a below DAX measure:
create displaysales to avoid blanks.
DisplaySales =
IF(
ISBLANK(SUM(DataTable[Sales])),
BLANK(),
SUM(DataTable[Sales])
)
use the above Displaysales measure in your conditional measure with hierarchy .
ConditionalDisplay =
IF(
ISINSCOPE(HierarchyTable[Level3]),
[DisplaySales], // Only show non-blank sales at Level 3
IF(
ISINSCOPE(HierarchyTable[Level2]),
IF(
NOT(ISBLANK([DisplaySales])),
[DisplaySales],
BLANK()
),
IF(
ISINSCOPE(HierarchyTable[Level1]),
[SalesAmount],
BLANK()
)
)
)
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |