Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
Not applicable

How to fix a particular month(Apr) as Start Date in qlik sense for YTD Calculation

I Have a Extension named Date Range Picker Which Shows Range Of Dates But I want to fix a april as the start month so the user should only get to select the end month/date selecting the end month/date it should sum up months from april to selected date/month

Is It possible in qlik sense

Thanks In Advance

Below Is The Screenshot

d1.PNG

2 Replies
brunobertels
Valued Contributor II

Re: How to fix a particular month(Apr) as Start Date in qlik sense for YTD Calculation

Hi

if I well understand your requierment you try to fix a start date in date range picker object. You need to fix it at first of april in the meaning of having a YTD calculation from april to current month.

You can't fixed in date range picker the start date for your date range.

Nethertheless you can see in this app that you have some predifined date range ( last 7 days , last month etc ) those predefined date range can be change in the code of the app and renamed as well.

So that, you can change the name of a predifined range as April YTD , and change the parameter to fix the start date at first of April.

See this link for parameters :

http://www.daterangepicker.com/

hope it helps

lakshmikandh
Valued Contributor II

Re: How to fix a particular month(Apr) as Start Date in qlik sense for YTD Calculation

Yes its possible, you have to work on the extension JS file.