Forum Discussion

norken20's avatar
norken20
Icon for Helper I rankHelper I
6 years ago

Sorting of Date in Line Graph and DAX for adding rows

Hi All,

 

I'm having a hard time fixing this scenario in Power BI. I'm trying to create Line graph that will show the Target Goals.

 

My first problem is that my dates are not arranged as reflected in my column from Sep-19 to Aug-20.

 

Second is what is the best way to calculate sum of each row using Dax. I want to reflect the column is the sum of rows. Sep-19 will reflect the orginal value but for the next month it will reflect current month value plus the previous month. How can I do it using DAX?

 

For example:

DateValueWhat I want to reflect in Graph
Sep-19200200
Oct-19300500
Nov-19300800
Dec-194001200
 
 

2 Replies