Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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