Forum Discussion

swarnalvr's avatar
swarnalvr
Frequent Visitor
1 year ago
Solved

Dax measure

Hi  I am using matrix table and there is sales1 and sales2, iam dynamically selecting those measures from drop down slicer I have used "difference "= sales1-sales2 which runs when both are selected...
  • BeaBF's avatar
    BeaBF
    1 year ago

    swarnalvr ok, so try with:

    Difference =
    IF(
    ISINSCOPE(Sales2),
    Sales1 - Sales2,
    BLANK()
    )

     

    BBF