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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

how to fetch limited data only

Hi All,

I have one application in that i want only current and last year data.I am using qvd generated for my application.

How can i achieve it.

Thanks

14 Replies
prma7799
Master III
Master III
Author

Hi Robert,

I tried above formula but not get correct data.

I want data from 01-Apr-2014 to till date.

Thanks

MayilVahanan

Hi

Then try like this

I want data from 01-Apr-2014 to till date.


WHERE DivTarDate>=MakeDate(Year(today())-1,4,1)

and DivTarDate <=Today();

Make sure, both date are in same format

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
robert_mika
Master III
Master III

I think Mayil nail down your question...

prma7799
Master III
Master III
Author

Hi Mayil,

I am stuck with fetch limited data load for 01-Apr-2013 to till date.

My requirement is i have data from 2008 to today date data.

I have to enhance my application so that i need last three year data.

op.png

I want financial year for 2013-2014,2014-2015,2015-2016 and fiscal year 2013,2014,2015,2016

Please help me.

PFA for calendar script.

robert_mika
Master III
Master III

Try/:

WHERE DivTarDate>=MakeDate(Year(today())-2,1,1)

and DivTarDate <=MakeDate(Year(today())+1,3,31)