Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

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';