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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Set analysis using Today function

Hello

I was wondering if someone could kindly cast an eye over my set analsyis statement as it currently returning Null values

My aim is to produce a sum of data for the current day.   My dataset contains data for the entire quarter

My Test field returns data in this format: DD/MM/YYYY (14/01/2013)

My Today() functions returns values in this format DD/MM/YYYY (14/01/2013)

 

=SUM( {1<Test={$(=Date(Today(), 'DD/MM/YYYY'))}>}QuarterlyBreaches_Breaches)

Kind Regards

Helen

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Helen

try putting quotes around the date expression:

=SUM( {1<Test={"$(=Date(Today(), 'DD/MM/YYYY'))"}>}QuarterlyBreaches_Breaches)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Helen

try putting quotes around the date expression:

=SUM( {1<Test={"$(=Date(Today(), 'DD/MM/YYYY'))"}>}QuarterlyBreaches_Breaches)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
helen_pip
Creator III
Creator III
Author

Hello Jonathan

Thank you for your reply.  You beat me to it, I had just found out about the "" quotes online and it now works perfectly

I was just about to re-post, so thank you for your reply

I am back on track again now

Thanks

Helen