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

Count on a table, filtering by date and time is a variable

Hi, I have a problem that does not make me the count and not to do wrong,

by the variable, vToday as Today

LET vToday = Today ();

statement:

= Count ({<DATE = {$ (= [vToday])}>} CANTIDADPREPARADA)

and gives me "Error: Error in set list element modifier ad hoc ',' or ')' expected.

Many thanks in advance.

Oscar

4 Replies
sunny_talwar

Try this instead:

=Count ({<DATE = {'$ (vToday)'}>} CANTIDADPREPARADA)

sunny_talwar

If this doesn't work, then you might have to format today in your variable

LET vToday = Date(Today());

HTH

Best,

Sunny

Not applicable
Author

ok, perfect, thankssssssssssssssssssssssss

sunny_talwar

No problem