Forum Discussion
Show intermediate sum result
- 4 years ago
MatevzP , using date table joined to you table (date from date table used in visual
Cumm = CALCULATE(SUM(Table[documents]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm = CALCULATE(SUM(Table[documents]),filter(allselected('Table'),'Table'[date] <=max('Table'[date])))
MatevzP , using date table joined to you table (date from date table used in visual
Cumm = CALCULATE(SUM(Table[documents]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm = CALCULATE(SUM(Table[documents]),filter(allselected('Table'),'Table'[date] <=max('Table'[date])))
- MatevzP4 years ago
Helper I
Hi, thank you for your reply!
It seems like (to my untrained eye), that you are working with two tables here. One being table[documents] and another one being table[date].
In reality, i only have one table. I probably didn't explain it well in OP.
This is how it looks like: - MatevzP4 years ago
Helper I
Ok, it works!
I took your DAX formula and somehow applied to my scenario. Not exactly sure how it works, but it does.
month, okDAX:
test = CALCULATE(COUNT(WP1_Report[Last Upload]), FILTER(ALLSELECTED(WP1_Report[Last Upload].[Date]), WP1_Report[Last Upload].[Date]<=MAX(WP1_Report[Last Upload])))