Forum Discussion

ronaldbalza2023's avatar
ronaldbalza2023
Continued Contributor
4 years ago
Solved

Removing columns with zero values - matrix table

Hi everyone, having a hard time trying to figure out this one. Appreciate  the help on this! Question : How can I remove the columns that are having zero values in Matrix table?  I have filte...
  • amitchandak's avatar
    4 years ago

    ronaldbalza2023 , change this one

     

    P&L (Journals) = 
    CALCULATE ( -1* ( SUM ( 'Journals'[Net Amount FX] ) ),
        FILTER ( 'Journals', 'Journals'[Split] = "JOURNALS" ),
        FILTER (
            'Accounts',
            'Accounts'[Class] = "Revenue"
                || Accounts[Class] = "Expense"
        ), USERELATIONSHIP( Journals[ID], 'Tracking Category CONNECTIONS'[ID])
    ) 

     

     

    Also on top of you measures you can create measures like

     

    P&L (Journals) new= if([P&L (Journals)] =0, blank(), [P&L (Journals)])