Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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] )
)
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |