Forum Discussion

jabrillo's avatar
jabrillo
Helper I
3 years ago
Solved

Matrix - Wrong Total

I want to create this matrix:   Q1 Q2 Q3 Q4 Total Planned 10 10 10 10 40 Actual 5 7     12 Estimate by EOY 5 7 10 10 32   Data   Planned Table Project Qua...
  • tamerj1's avatar
    3 years ago

    Hi jabrillo 

    You can try

    Estimate by EOY =
    SUMX (
        VALUES ( TableName[Quarter] ),
        CALCULATE ( IF ( [Actual] > 0, [Actual], [Planned] ) )
    )