Forum Discussion

User1245's avatar
User1245
Regular Visitor
1 year ago
Solved

Filtered Accumulation in DAX

Hello,   I'm trying to create a cumulative chart where the X-axis displays every week of the year, and the Y-axis shows cumulative results. For example, if I have 2 results in week 01/2023, I want ...
  • User1245's avatar
    1 year ago

    Hey guys! Here's my data model. All columns are text, except "Datas": 

    "Semana/Ano" means "Week/Year". "Datas" mean "Dates". Both reports are connected by "Dates". I used your tips and got two different results: 

    The "Year" slicer functions correctly on both charts.
    However, the other slicers only work on the top chart, which displays non-cumulative data. In both charts, the bars represent actual results, while the line indicates the target. 

    My database originally had each "Event" as separate columns with corresponding dates. I’ve unpivoted the data into Events and Datas.