Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Uploads getting stuck in the virus scanner. We are investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor II
Contributor II

Problem in calculating Fiscal year in 13 period periodic master Calendar

Hi,

can anyone help me on the below problem.

I am working on periodic calendar(13 periods in each financial year and one period =28 days).

My Fiscal year start from 01 Apr 2017 and ends on 30 Mar 2018 also next fiscal year starts from 31 Mar 2018 and ends 29 Mar 2019 and so on …

Currently I am struggling to get the fiscal year for every date. So anyone can suggest me how to retrieve the fiscal year for this calendar.

Please see attachment of output of calendar. 

1 Solution

Accepted Solutions
Highlighted
Contributor II
Contributor II

Hi Marcus,
I works. Thanks a lot for your help.

Regards,
Chetan Palwe

View solution in original post

2 Replies
Highlighted
MVP & Luminary
MVP & Luminary

You could use something like this within your calendar-script:

pick(ceil(rowno() / 364), 2017, 2018, 2019, ...) as [fiscal year]

- Marcus

Highlighted
Contributor II
Contributor II

Hi Marcus,
I works. Thanks a lot for your help.

Regards,
Chetan Palwe

View solution in original post