Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Total in matrix visual

Hi there!   I have created a matrix visual (attach below) in power BI on a historical dataset with country and division as columns and corresponding measures like sales, sales MTD, sales QTD, ...
  • sturlaws's avatar
    6 years ago

    Hi Anonymous 

     

    you can create a measure to use as a filter:

    filterMeasure =
    COUNTROWS ( SUMMARIZE ( 'Table'; 'Table'[Country]; 'Table'[Division] ) )
    

     

    Add this measure to the filter pane of your visual and set it to filter on greater or equal to 1

     

    Cheers,
    Sturla

    If this post helps, then please consider Accepting it as the solution. Kudos are nice too.