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: 
Not applicable

Problem with date in set analysis

Good Afternoon all,

I have the following code in my load script in QV11.

 

num (SECTION_DATE) as Working_Date

and have tried the following piece of set analysis

 

=count ( { < Working_Date = {'>num(today())'} >} CLIENT_NO)

However this brings back 0.

If I hard code the integer for todays date currently 41422

 

=count ( { < Working_Date = {'>41422'} >} CLIENT_NO)

I get the correct result

Can anyone advise why the num(today()) funtion is not working in my set analysis please?

Many thanks in advance

Mike

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try =count ( { < Working_Date = {'>$(=num(today()))'} >} CLIENT_NO)


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try =count ( { < Working_Date = {'>$(=num(today()))'} >} CLIENT_NO)


talk is cheap, supply exceeds demand
Not applicable
Author

Brilliant - Thank you so much for for your help!

Not applicable
Author

Brilliant - Thank you so much for your help!!

Not applicable
Author

try this

=count ( { < Working_Date = {'>$(=num(today()))'} >} CLIENT_NO)

Not applicable
Author

Thank you