Forum Discussion

Brad_Roberts's avatar
Brad_Roberts
Frequent Visitor
3 years ago

Issue with Measure Total with an IF Statement

After reading many posts on this i'm still having issues with the total for Move-Out SF 2.  My row dax works fine but the total is not working.  Change SF is a measure of (Sum of All Area - Start SF) and I want to split that between two new measures (Move-In and Move-Out).

 

 

Any help is appreciated.

 

Thanks.

6 Replies

  • tamerj1's avatar
    tamerj1
    Icon for Community Champion rankCommunity Champion

    Hi Brad_Roberts 

    Please use

    Move-Out SF2 =
    SUMX (
    VALUES ( 'Tenency Data'[Tcode] ),
    VAR ChangeSF = [Change SF] RETURN IF ( ChangeSF < 0, ChangeSF )
    )

    • tamerj1's avatar
      tamerj1
      Icon for Community Champion rankCommunity Champion

      Brad_Roberts 

      What is the name of this column? Is ot from the same table?