Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Cumulative straight line graph

Hi All, I have a dataset with Week and Target column and it will show one straight line in power bi line graph. Is there a way where I can show in cumulative straight line graph in power bi instead? Where the start point is 0 and end point is 1000.

 

 

Regards,

BK

 

2 Replies

  • Hi, Anonymous 

    Please check the below picture and the sample pbix file's link, whether it is what you are looking for.

    All measures are in the sample pbix file with the step's number in front of each measure.

     

     

    https://www.dropbox.com/s/owzjq3lhpe0sh5y/beekeev2.pbix?dl=0 

     

    Hi, My name is Jihwan Kim.

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

    Linkedin: https://www.linkedin.com/in/jihwankim1975/

  • Anonymous , not clear,

     

    cumulative here will add 1000 every week

     

    example

    Cumm = CALCULATE(SUM('Table'[Target]),filter(allselected('Table'),'Table'[Week] <=max('Table'[Week])))