Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am trying to build a matrix table and tried to build a calculated column for segmentation, but what do I build if I need to see something as its own row essentially double counting? In the table below, Junior exists in both Corporate and Plant, but I would like to see it as its own row in the same matrix table.
Lets say I have data in a table like this:
But when I build out my matrix table I need this:
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
USERELATIONSHIP function (DAX) - DAX | Microsoft Learn
expected result measure: =
SWITCH (
SELECTEDVALUE ( agency[agency] ),
"junior",
CALCULATE (
SUM ( data[revenue] ),
USERELATIONSHIP ( agency[agency], data[department] )
),
SUM ( data[revenue] )
)
Thank you
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
USERELATIONSHIP function (DAX) - DAX | Microsoft Learn
expected result measure: =
SWITCH (
SELECTEDVALUE ( agency[agency] ),
"junior",
CALCULATE (
SUM ( data[revenue] ),
USERELATIONSHIP ( agency[agency], data[department] )
),
SUM ( data[revenue] )
)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |