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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

exclude data

hello,

I only want to load data from a given year (2017).

what formula here to use?

THX!

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Suppose you have a field with a data (eg.: dt) in a table myTable

you have to write something like this:

Select * from myTable where year(dt) >= 2017;

let me know

Anil_Babu_Samineni

May be this?

Select Year from Table where Year = 2017; // Year <> 2017 for exclude the value(as per your title)

Load Year from Table where Year = 2017; // Year <> 2017 for exclude the value(as per your title)

And, In front end

Sum({<Year = {'2017'}>}Measure) // Year -= {'2017'}

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
its_anandrjs
Champion III
Champion III

In Qlikview try this way

Load

*

From Table

Where Year = 2017;

Or

Load

*

From Table Where  Year = Match(Year,2017);

Or

Load

*

From Table Where  Match(Year,2017)=1;

Or

Load * From Table Year Like '2017';