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,
How do I only show the value of the highest hierarchy in a matrix chart even when expanded?
For example, I have the following data. How do I hide the No/Yes for the subcategories? I tried to use "ISINSCOPE" without success.
| Parent Category | SubCategory | Yes/No | Dollars |
| Parent 1 | SubCat1 | No | ... |
| Parent 1 | SubCat2 | No | ... |
| Parent 2 | SubCat1 | Yes | ... |
| Parent 2 | SubCat2 | Yes | ... |
| Parent 3 | SubCat3 | Yes | ... |
Solved! Go to Solution.
Hi,
Can you please show us how ypu have used ISINSCOPE()?
try this:
DisplayYesNo =
IF(
ISINSCOPE('YourTable'[Parent Category]) && NOT ISINSCOPE('YourTable'[SubCategory]),
SELECTEDVALUE('YourTable'[Yes/No]),
BLANK()
)
Hi @JaysYee ,
Please try this:
Hi,
Try this measure
Measure = if(hasonevalue(Data[Sub category]),blank(),[your measure])
Hope this helps.
Hi @JaysYee ,
Please try this:
Hi,
Can you please show us how ypu have used ISINSCOPE()?
try this:
DisplayYesNo =
IF(
ISINSCOPE('YourTable'[Parent Category]) && NOT ISINSCOPE('YourTable'[SubCategory]),
SELECTEDVALUE('YourTable'[Yes/No]),
BLANK()
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |