Skip to main content

Hello Experts,

 

I have a concern that I am trying to solve but in vain as I am not arriving at the end solution.

 

Below is the description for the same

I have a requirement where I need to show previous month value on the monthly trend.

 

For Example: As seen in the trend graph below, I need to see the Jan'18+ Feb'18 data in the Mar'18 (this excludes data from Mar'18).

Any help from the experts, i would be grateful.

 

Regards

K K

4 Antworten
  1. 22. März 2019, 11:25

    Hi Kiran,

     

    use windows sum fum to achieve the it

     

    previous 2 months to current month use the below calculation

    WINDOW_SUM(SUM([Sales]), -2, -1)

     

    Hi Kiran, use windows sum fum to achieve the it previous 2 months to current month use the below calculation WINDOW_SUM(SUM([Sales]), -2, -1) Thanks,Jagadeesh T

     

    Thanks,

    Jagadeesh T