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 PBI Experts!
I have a data source table:
I'd like to organize the visuals as Matrix or Table format with below the layout, where Country list is the unique values from POS and POO columes:
Not sure how to achieve this, if someone knows and can help that's greatly appreciated!
Solved! Go to Solution.
Hi,
One of ways is to create inactive relationship and active relationship between the fact table and the dimension table like below.
And try to use USERELATIONSHIP DAX function in the measure.
Please check the below picture and the attached pbix file.
userelationship dax Microsoft Learn
POS revenue: =
SUM( data[REV] )
POO revenue: =
CALCULATE ( SUM ( data[REV] ), USERELATIONSHIP ( Country[Country], data[POO] ) )
Hi,
One of ways is to create inactive relationship and active relationship between the fact table and the dimension table like below.
And try to use USERELATIONSHIP DAX function in the measure.
Please check the below picture and the attached pbix file.
userelationship dax Microsoft Learn
POS revenue: =
SUM( data[REV] )
POO revenue: =
CALCULATE ( SUM ( data[REV] ), USERELATIONSHIP ( Country[Country], data[POO] ) )
Brilliant! Works perfectly!
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 |
|---|---|
| 127 | |
| 115 | |
| 87 | |
| 70 | |
| 69 |