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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

reducing of data from one field

I have a datefield which is having lot of data

now i just want to restrict it to one year data how to do that

15 Replies
Anil_Babu_Samineni

May be this

If(Year <> '2014', Year)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

It's hardcoding value,I just want to restrict to last year or latest year data

Anonymous
Not applicable
Author

Data is coming from a qvd where to write the condition

Peter_Cammaert
Partner - Champion III
Partner - Champion III

In the LOAD FROM statement of that particular QVD.

Anonymous
Not applicable
Author

and how to resticr to one year data .

Anonymous
Not applicable
Author

yes i separated the values with commas ,still its giving me error.

can we use 3 conditions in where

is there any other way of putting the conditions ,

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

Maybe this would work for you:

Where AddYear(Today(), -1) <= Date

vinieme12
Champion III
Champion III

Please post your current load script

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.