Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

DAX Query to split multiple measures into two rows on a table/matrix

I'm currently working with direct query and have multiple measures placed into 2 tables e.g. sum and %s.

 

Customers Assessed Group AScore 0%Score 1%Score 2 %
250208%21084%208%

 

Customers Assessed Group BScore 0%Score 1%Score 2 %
10000600060%300030%100010%

 

All of the values come from their own columns of data e.g. of edit query section

Customers Assessed Group AScore 0Score 1Score 2Customers Assessed Group BScore 0Score 1Score 2
100100300020001000 
10001000300020001000 
10001000200010001000 
402002020001000 1000
Total = 2502021020Total = 10000600030001000

 

As all of these numbers are based on measures is there a way to :

1. Put them all on the same table with two rows e.g.

Desired Outcome

Customers AssessedScore 0%Score 1%Score 2 %
250208%21084%208%
10000600060%300030%100010%

 

OR

2. Add new column that captures the TITLE OF COLUMNS and lets me put specific columns into group A or group B

 

OR 

3. Create a new table with all the measures somehow split into 2 rows (Group A & Group B)

 

Thanks,

No Replies