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 all!
I'm hoping someone can point me along the right direction: I'm trying to hide visuals while matrix rows are collapsed, but display them on expansion.
I have the following table:
| Category | Item | Item Key | Quantity |
| Clothes | Shirt | 1 | 2 |
| Clothes | Shorts | 2 | 1 |
| Clothes | Trousers | 3 | 5 |
| Shoes | Heels | 4 | 3 |
| Shoes | Flip Flops | 5 | 2 |
| Shoes | Trainers | 6 | 2 |
| Bags | Rucksack | 7 | 5 |
| Bags | Handbag | 8 | 4 |
I create the visual in Power BI as so:
And the visual looks as:
or collapsed:
I want them to look the following way:
so you only see:
On expansion.
Is there any way to do this? Hide values only untill expanded?
Please let me know if this is possible!
Thank you kindly,
Shannon
You can use a measure
Right click on table name and pick "new measure".
On formula bar type:
Item_Key = IF(COUNT(Table[Item Key] = 1, SUM(COUNT(Table[Item Key]), BLANK())In your Matrix visual, use that measure instead of Item Key column.
@ShannonBeahan - I believe you can get what you want using MM3TR&R - https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...
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 |
|---|---|
| 62 | |
| 46 | |
| 42 | |
| 26 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 124 | |
| 101 | |
| 67 | |
| 49 |