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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
johngouws
Partner - Specialist
Partner - Specialist

Greater than equal to >= in load script

Good day all. 

I normally use >= in my set analysis but am wondering if there is a way of using >= in the load script? 

Thank you - stay safe..

Labels (1)
13 Replies
johngouws
Partner - Specialist
Partner - Specialist
Author

I unfortunately cannot share this now. 

I am going to leave it as is for now and re address when time is available. 

Thank you thow. 

 

Mauritz_SA
Partner - Specialist
Partner - Specialist

I suspect that your Document Type is being seen as text. Try IF(Physical='1' and SearchType='4' and Num#(DocumentType)<=5,DiscountAmount) as [Total_Sale]

You could also use Match(DocumentType,3,4,5) if you want to fix the range. Might need to use Match(Num#(DocumentType),3,4,5).

tresesco
MVP
MVP

Hi @Mauritz_SA ,

That is a possibility, however, usually qlik engine is intelligent enough to convert such text-numbers to numbers internally.

johngouws
Partner - Specialist
Partner - Specialist
Author

Thanks @Mauritz_SA 

I am going to try your options - Thank you.