Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
SRI8273
Contributor II
Contributor II

SET ANALYSIS SENARIO

HOW TO ACHIVE ROLLING YTD,MTD,QTD BY CLINKING ON PARTICULAR DATE

 

Labels (1)
3 Replies
AronC
Partner - Creator II
Partner - Creator II

For R12 full month I use the following. If you choose feb 2023 in your filters you se the sum (#Amount) for mars 2022 to feb 2023.

I always use Ids for date-periods to easy make necessary calculations. 

sum({<PeriodId = {">=$(=Max(PeriodId)-11)<=$(=Max(PeriodId))"},Year=, Month,Period>}#Amount)

You could allways modify the above to your needs. Hope it hels you out.

vikasmahajan

Hi,

You need to implement AS of table concept by HIC :

https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130

also find attached demo.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan

Hi

I have created white paper for this topic :

https://community.qlik.com/t5/Member-Articles/As-of-Table-with-YTD-MTD-QTD-amp-Calculation-of-Rollin...

 

Please let me know if you can apply this concept for your data model

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.