Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Optimize a Running Total

Hello community,   I manage the data of an app and would need some help to optimize the classical running total    Sign up count =            CALCULATE (            DISTINCTCOUNT( 'Global table...
  • MFelix's avatar
    MFelix
    8 years ago

    Hi Anonymous,

     

    Try to change you measure to make the filter on the Global Table [Date]

     

    Sign up =
    CALCULATE(
              COUNTROWS( 'Users Info' );
              FILTER( 'Users Info'; 'Users Info'[Sign_up] <= MAX( 'Global Table'[Date] )
               )
    )

    Then place the 'Global Table'[Date] on the x-axis should work as expected.

     

    Regards,

    MFelix