Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Recreating a Table Visual Total via Measure

Hello all,   in my organization's project management we compare different plan values and actual values of our projects. Projects that do not have one particular plan value are of particular intere...
  • johnt75's avatar
    3 years ago

    Create a measure like

    Plan Value by Project = SUMX( 'Project master', SUMX( RELATEDTABLE('Plan 1'), 'Plan 1'[Plan value]))

    which you can then use in a filter, like 

    Plan 2 value =
    SUMX (
        FILTER ( 'Project master', [Plan value by project] = 0 ),
        SUMX ( RELATEDTABLE ( 'Plan 2' ), 'Plan 2'[Plan value 2] )
    )