Forum Discussion
RonaldvdH
5 years agoPost Patron
Line graph question
Goodmorning guys, i need your help with a simple question I want a line graph that displays the cumulative value of a certain value We register on a daily basis the number of new contracts that ...
- 5 years ago
Hi, RonaldvdH
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
You may create a measure as below.
Result = CALCULATE( SUM('Table'[Value]), FILTER( ALL('Table'), [YearWeek]<=MAX('Table'[YearWeek]) ) )Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RonaldvdH
5 years agoPost Patron
i had a date table in my report (totally forgot about it) and now it works based on your help
- RonaldvdH5 years agoPost Patron
v-alq-msft I was to quick in my response because i used your pbix file but how did you calculate the value ? it looks like you used a tifferent measure to calculate the total amount of dates in a given week right ?