Forum Discussion

darwindat's avatar
darwindat
Helper I
6 years ago
Solved

Values in Matrix shown based on different row context

Hello everyone, 

I have one issue and would really appreciate any help or idea. 

I create a Matrix, based on a (simplified) dataset (can be seen in the picture below). I have 2 columns A, and B and a Value column. 

Is it possible if with only 1 column in the same Matrix - (called Column in the picture), we can create 2 measures, one showing the sum of value based on the Row context of Column A (I called this measure: Column A row context), and another showing the sum of values based on the Row context of Column B (Column B row context). The "Desired Matrix" is what I want to achieve (I did it by Excel). 
I hope it would be easier to understand my question with the below picture and my example pbix file.

Thanks in advance! 

 

3 Replies