Forum Discussion

BlueWhite3699's avatar
BlueWhite3699
Icon for Helper III rankHelper III
1 year ago
Solved

Measure take for ever to run

Hi Experts   the following measure retuns back the correct return - no issue there. But when applied to a 16million rows of data for one fiscal year its just take forever to return a value back in ...
  • BlueWhite3699's avatar
    1 year ago
    YTD Forecast (full year) = 
    CALCULATE (
        SUMX (
            ADDCOLUMNS (
                VALUES ( 'Date'[_MonthYearSort] ),
                "@TotalForecast", [Forecast]
            ),
            [@TotalForecast]
        ),
        DATESYTD ( 
            'Date'[Date],
            "31/03"
        ) 
    )