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: 
dberkesacn
Partner - Creator III
Partner - Creator III

Basic Set Analysis

Hi Guys,

pls help me in this simple set analysis, =sum({<Date={">2017.02.01"}>}Value), why this is not working?

Would like to filter the date - global date format in the begging of the script is SET DateFormat='YYYY.MM.DD';.

Thanks,

D

23 Replies
prma7799
Master III
Master III

It is working with =sum({<Date={"2017.03.01"}>}Value )

Confused

oscar_ortiz
Partner - Specialist
Partner - Specialist

Check this out.  I've modified the script slightly to ensure that your date is using the proper format.  Preceding load on your original inline load statement.

LOAD

  *,

  Date(Date#(Date,'YYYY.MM.DD')) as CheckDate

;

265097.PNG

Good luck

Oscar

prma7799
Master III
Master III

Hi Frank,

Without any modification in back end how can we do this?

Thanks

PM

dberkesacn
Partner - Creator III
Partner - Creator III
Author

Yep it work with '=' but not with '>'... you have the same result ?

oscar_ortiz
Partner - Specialist
Partner - Specialist

The reason it works with "=" and not ">" is because Qlik is treating the field as a text field not numeric value.

prma7799
Master III
Master III

Yes... But if you change you date format in backend you can easily achieve the same.

dberkesacn
Partner - Creator III
Partner - Creator III
Author

amazing it was a bug (features?), i just added a preceding load * just this, and worked, after deleted the preceding and reloaded again worked ...

prma7799
Master III
Master III

dberkesacn
Partner - Creator III
Partner - Creator III
Author

probably it was because I made the data in excel and copy pasted to the inline wizard ... or just because...

prma7799
Master III
Master III

Yes...

Otherwise you will get your answer early..

Thanks Daniel .