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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

Many Years

I have many years in my database.

So I put

Table:

Load

Year

Monh

Resident TT

Where Year 2010 And Year 2011

Order By Month

Year goes 0.

With Or just show 2010

Thanks.

1 Solution

Accepted Solutions
Not applicable

reverse the where statement and tell us what is the result

where Year=2011 or Year=2010

View solution in original post

9 Replies
MayilVahanan

Hi,

     Try like this,

Edit:

Use or instead of and

Load

Year

Monh

Resident TT

Where Year = 2010 or Year = 2011;

Hope it helps

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

did You write?

where Year=2010 or Year=2011

i believe this should work...

pgalvezt
Specialist
Specialist
Author

where Year=2010 or Year=2011

Just bring me 2010

MayilVahanan

Hi

     Can you check load once and check whether year = 2011 available?

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

reverse the where statement and tell us what is the result

where Year=2011 or Year=2010

Not applicable

hmmm interesting...

reversing 2010 and 2011 fix the problem?

pgalvezt
Specialist
Specialist
Author

Yes, very wire because I reloaded the model again and fix the problem. Any case many thanks.

whiteline
Master II
Master II

Cool.

Could you try also where (Year=2010) or (Year=2011)

pgalvezt
Specialist
Specialist
Author

Ok! Thank you for your advice.