Forum Discussion

cristianml's avatar
cristianml
Post Prodigy
6 years ago
Solved

2 filters dAX

Hi,   This formula is not working, not sure where is the mistake. Could you help me ?   =CALCULATE(SUM(BR[Value]), FILTER(BR,BR[BR Report]="Revenue"),FILTER(BR,BR[Type]="MTD Actual"))   I need...
  • v-gizhi-msft's avatar
    6 years ago

    Hi,

     

    Please try this:

    =
    CALCULATE (
        SUM ( BR[Value] ),
        FILTER ( BR, BR[BR Report] = "Revenue" && BR[Type] = "MTD Actual" )
    )

    If you still have any issue, please share some sample data and the expected result.

    Thanks!

     

    Best Regards,

    Giotto Zhi

  • v-gizhi-msft's avatar
    v-gizhi-msft
    6 years ago

    Hi,

     

    Yeah, if you want to filter many categories, you should add all of them into FILTER function by '&&'.

    And you can also filter them in Filter Pane.

     

    Best Regards,

    Giotto