Forum Discussion
Running Total returns wrong value
- Anonymous4 years ago
Anonymous
You need to create a calendar table with distinct dates, and connect that date column to your current created at date. Then you would use the new calendar date in the filter expression. For example, if you data is from 2020 to 2021, try1. Create a calendar table =Calendar(date(2020,11), date(2021,12,31))
2. Connect the new date table with Created_At.3. create the measure:
Measure = calculate(sum(sheet1[value]), Filter(allselected(calendar table), isonorafter(calendar table[date], max(calendar table[date]), desc))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
They are columns and not from the table. I wasn't sure how to reference to the column.
I'll try your formula, thanks
You'd need to create a relationship between that table and your Sheet1 on Created_at column. And When you create a quick measure, don't place created_at column but instead, place date column that's on the related table.
Hope that makes sense
- Anonymous4 years agoNot applicable
Could you send me a screenshot of your relationships please?
- YukiK4 years agoImpactful Individual
This is just test tables. Please adjust according to your model. You can drag and drop a column to another column in a different table
Please gives a thumbs up if this is helpful!
- Anonymous4 years agoNot applicable
I wasn't able to do a many to one. I don't quite understand relationships so I think I might have to go and read up on it then figure out how to reference the table in the running total.