Forum Discussion

RonaldvdH's avatar
RonaldvdH
Post Patron
5 years ago
Solved

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 ...
  • v-alq-msft's avatar
    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.