Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

SumX for specific dates

Hi,   I have data loaded in the PowerBi from 2021 to 2026. However, I want the calculations (Sumx and Cumulative) to be done for only 2022 data. I tried using datesbetween with sumx,  but it is cal...
  • Anonymous's avatar
    Anonymous
    4 years ago

    I have created a new table by using- calculatetable and datesbetween functions (to filter out only 2022 data).

    Then, I have used this table in my measures to get the desired result.