Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
priyanka08
Contributor III
Contributor III

Convert YTD Sale to MTD Sale to display in line Chart

Hi  Everyone,

We have received the  YTD Sales  every  month with only one date on that particular month.Which means for Feb-21 include sales from Jan-21 to Feb-21 but include date of Feb -21 only.Similarly for March 21 include data from Jan-21 to Mar-21  but include date of Mar -21 only

My requirement is display Line Chart  represent MTD Sales  for each month

Refer the attached copy of Sample data

for example

For SalesReport_31012022. This is ytd sale for Jan-21  with can work as MTD

priyanka08_0-1652405836521.png

For SalesReport_28022022- This include YTD sales for Feb -21 means  if we consider first 1120 ytd sale is actually sales  from Jan- 21 to feb -21 & MTD Sales for Feb -21 is 1120-100= 1020

priyanka08_1-1652405867831.png

for SalesReport_31032022

 This include YTD sales for Mar -21 means  if we consider first 1220 ytd sale is actually sales  from Jan- 21 to feb -21 & MTD Sales for Feb -21 is 1420-1120-100= 200

priyanka08_3-1652406268558.png

 

 

 

 

 

1 Reply
priyanka08
Contributor III
Contributor III
Author

Added fresh sample data