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.
v-alq-msft
5 years agoCommunity Support
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.