Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Floating cumulative sum

Hi everyone,    I am new in Power BI and DAX, so I would like to ask a question.    I have this table "Krist": Rok = Year from dat_prov column; Mesiac = Month from dat_prov column, prov - súčet ...
  • andhiii079845's avatar
    3 years ago

    I build a example with your infos. I think the problem is your automatic time intelligence. 
    For example: If you use the automatic time intelligence filter: blue one the filtering is correct. If you use the regular date column it not work. The time intelligence is like a hidden dimension table for the date. (please correct me someone if its wrong). 
    starting point:

    blue filtering (date - year):

    The same via date (red). You see the cummlative has no filter.

    The reason is, that you use ALL() in your DAX expression and the measure line ignore your filter (via selection the regular date column!) from the fact table. If you use the "hidden" dimension table filter via other fields the complete table is filtered for both (measure and column).