Forum Discussion

F_Rehman2007's avatar
F_Rehman2007
New Member
7 years ago

Division between Different Matrixes

Hi,

 

I am working on two existing  matrixes - Matrix 1 and Matrix 2 - both of which come from the very same SQL Server Table source.

 

Matrix 1 - Total Population.

Matrix 2 - The subset within the Total Population which fulfils a specified criteria (which I am working with).

 

Matrix 3 is what I am trying to create i.e Division of each Matrix 2 value over their corresponding value in Matrix 1. The Percentage values in Matrix 3 below are only HARD-CODED and is what I am trying to calculate  .

 

Please advise on the best way to create Matrix 3.

 

 

1 Reply

  • v-yuta-msft's avatar
    v-yuta-msft
    Community Support

    F_Rehman2007 ,

     

    The matrix value is aggregated value, so they can't be divided directlt. To achieve matrix 3, you need to build measure/calculate column based on the two source tables. Could you please share the raw data(sample data) of two tables and give the measure formula you are using currently?

     

    Regards,

    Jimmy Tao