Forum Discussion

emma313823's avatar
emma313823
Icon for Helper V rankHelper V
2 years ago
Solved

How to add a specific subtotal in a matrix

Hi   I have a matrix table which I'm trying to find a way to sub-total 4 out of 5 territories.  What is displayed in the screenshot is a principal or company and my team needs to see Metro, Mid, PA...
  • parry2k's avatar
    2 years ago

    emma313823 you should add new group column, better to add in PQ but with DAX you can do something like this:

     

    New Group = 
    IF ( Table[Column] IN { "Metro", "Mid", "PA", "UNY" }, "ITC South", "Other" )

     

    In the matrix visual, on rows, add this new group column and under it add territory column and that will do it.