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 have a table with sales details of different products. When I drag required columns in the power bi table visual, I get following output.
Is it possible to get a visual like the following in power BI ?
Your help is much appreciated.
Solved! Go to Solution.
Hi,
Please take following steps:
1)Try this measure:
Total =
IF (
ISINSCOPE ( 'Table'[Category] )
&& MAX ( 'Table'[Product] )
= MINX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] IN FILTERS ( 'Table'[Category] )
),
'Table'[Product]
),
CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] IN FILTERS ( 'Table'[Category] )
)
)
)
2)Choose matrix visual, the result shows:
See my attached pbix file.
Best Regards,
Giotto
Hi,
Please take following steps:
1)Try this measure:
Total =
IF (
ISINSCOPE ( 'Table'[Category] )
&& MAX ( 'Table'[Product] )
= MINX (
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] IN FILTERS ( 'Table'[Category] )
),
'Table'[Product]
),
CALCULATE (
SUM ( 'Table'[Sales] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Category] IN FILTERS ( 'Table'[Category] )
)
)
)
2)Choose matrix visual, the result shows:
See my attached pbix file.
Best Regards,
Giotto
@Jos13 , Refer
If one of format fits in https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
I doubt you can get exactly.
Try creating a measure like this and see if isinscope can help
Sub Total = Calculate(sum(Table[Sales]), allexpect(Table[Category]))
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 33 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 126 | |
| 115 | |
| 85 | |
| 69 | |
| 69 |