Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DAX FILTER

Hi There,

I wrote a DAX with filters as shown below. But I observed that those Deal statuses I haven't included in my DAX are pulling into the table like Business Office & Delivery Scheduled.

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Try to write

     

    DealStatus = Filter(... IN {...})

     

     

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi Anonymous ,

     

    Try the formula like below:

    Amount_filter =
    CALCULATE (
        SUM ( FactInternetSales[SalesAmount] ),
        DimProduct[Color] IN { "Black", "Blue" }
    )

    If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.