Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
sagarpawar
Contributor III
Contributor III

YTD Calculation by month

HI ,

Can someone help me on below scenario.

We have Budget , Forecast1 and forecast2 by month and also we have Budget_Rate, Forecast1_Rate and Forecast2_Rate by month.

There is calculation for month Jan as

=(Jan Forecast2/Jan Forecast2_Rate) will consider as Jan_EUR

For Feb month we have calculation

=(Jan_Eur+((Feb Forecast2 - Jan Forecast2 )/Feb Forecast2_Rate)) as Feb_EUR

For Mar month 

= (Feb_EUR++((Forecast2 of Mar month - Forecast2 of Feb Month)/Mar Forecast2_Rate))  as Mar_Eur.

Next every month we have same calculations.

Can you please help me to calculate Jan_Eur,Feb_Eur,Mar_Eur,...........Dec_Eur.

We have to perform this in backend and the will do Sum of Jan_Eur,Feb_Eur, etc..  in frontend.

 

Thanks,

Sagar

SGP
2 Replies
sunny_talwar

Would you be able to provide some sample data and the output expected from it?

sagarpawar
Contributor III
Contributor III
Author

Hi Sunny,

PFA: Sample data for scenario.

Thanks,

Sagar

 

SGP