Forum Discussion

ajisharavind_99's avatar
ajisharavind_99
Icon for Advocate I rankAdvocate I
3 years ago
Solved

Avoid filter other Tables

Hi, When I calculate cumulative progress, it is 0.25 percent greater than total due to the relationship between the date dimension table and the other two tables. The outcome is satisfactory when I ...
  • johnt75's avatar
    johnt75
    3 years ago

    Try

    Overall_Actual_Cumulative_Prgrs =
    VAR MaxDate =
        CALCULATE ( MAX ( 'DIM Calendar'[Date] ), 'DIM Calendar'[Date] <= TODAY () )
    RETURN
        CALCULATE (
            [Overall_Total Actual Prgrs],
            ALLSELECTED ( 'DIM Calendar' ),
            'DIM Calendar'[Date] <= MaxDate
        )