Forum Discussion

superhayan's avatar
superhayan
Helper I
1 year ago

Difference between 2 Percentage Columns in Matrix Visual

Hello all,

 

This is just a simple math question but I cannot get it correctly shown in a matrix.

 

I have 2 data tables to look at deal records of Sponsored Accounts and Non Sponsored Accounts. Both tables have the same columns: Account, Product, Status. Each record refers to 1 deal record. 

I also have a Status table that has active many:1 relationship with both data tables. 

 

I made a matrix visual on Account Level as below.
Row: Status
Values: Sponsored Count / SponsoredDeals_Percentage / Non Sponsored Count / NonSponsoredDeals_Percentage / % Difference (Sponsored % - Non Sponsored %)

The count and % are correct. However as you can the % Difference column shows wrong %. For the first row, it should be 1% instead of 350%.

 

 

The DAX measures for above columns are as below. And the summarization I used for % Difference column is Sum. I tried to change the Matrix to Table then choose No Summarization but it will then splitted into 2 rows for each Status and the % difference is still wrong.

 

 

Please give me a helping hand, thanks!!

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi superhayan ,

     

    Please provide sample data as well as your expected results.

     

    Best regards,
    Community Support Team_ Scott Chang