Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, I just created a "cumulative total" column and it works fine when I add it to a table with just the dates and the original total values (by date). But when I add another column that is a completely different metric, the cumulative metric gives the same value as the original total value. See screenshots below of the two versions of the table (with and without the extra column (Total Time). I have one page level filter applied in the filter pane, and a Year filter applied for the page (top corner slicer).
This is the formula for my Cumulative total:
Any help would be appreciated! Thank you!
Solved! Go to Solution.
I think that the Time is being added to the filter context, try removing that filter like
Distance Cumulative = CALCULATE(Data_Master[Distance Total], REMOVEFILTERS(Data_Master[Time in hours]), ALLSELECTED( Data_Master[Date] ) , 'Data_Master'[Date] <= MAX('Data_Master'[Date] ))
I think that the Time is being added to the filter context, try removing that filter like
Distance Cumulative = CALCULATE(Data_Master[Distance Total], REMOVEFILTERS(Data_Master[Time in hours]), ALLSELECTED( Data_Master[Date] ) , 'Data_Master'[Date] <= MAX('Data_Master'[Date] ))
That worked brilliantly! Thank you!