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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Fiscal Calendar

Hi Community

Can anyone please assist me , I am building a calendar with a switch between fiscal and Normal calendar . The requirement For the Fiscal Calendar is that the Year starts on July and End June on the following Year , So the Issue is that when we reach December , it doesn’t go on and pick January as my July it stops in December . On the Attached Screenshot I selected 2015 , it ends on 201606 which is December so I want it to even go to 201607 which is January on the normal Calendar etc. .

num((if(Month(ArTrnDetail.InvoiceDate) > 6 , year(ArTrnDetail.InvoiceDate)+1))&num(if(Month(ArTrnDetail.InvoiceDate) > 6 , Month(ArTrnDetail.InvoiceDate) - 6),'00')) AS Fin_YEAR_MONTH,

num((if(Month(ArTrnDetail.InvoiceDate) > 6, year(ArTrnDetail.InvoiceDate)+1)-1)&num(if(Month(ArTrnDetail.InvoiceDate) > 6, Month(ArTrnDetail.InvoiceDate) - 6) ,'00')) AS Fin_YEAR_MONTH_PREVIOUS, 12.PNG

Labels (1)
1 Reply
sunny_talwar
MVP
MVP

Chech the code given by jagan‌ here: Fiscal and Standard Calendar generation