Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Set Analysis & Variables

Hi,

I'm simply trying to create a variable that counts the number of ID's for 'Yesterday' :

     count({<Date={'date(Today()-1)'}>}ID)

But this expression doesn't appear to be working....

The 'Date' field within my Dataset is in DD/MM/YYYY format if it helps.

Any help appreciated!

Tom

3 Replies
Gysbert_Wassenaar

Try count({<Date={"$(=date(Today()-1,'DD/MM/YYYY'))"}>}ID)


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi!

Try this:

=count (distinct{<Your_date_field={"$(=date(Today()-1,'DD/MM/YYYY'))"}>} ID)

Hope it helps.

Gabriel

ecolomer
Master II
Master II

Try this:

COUNT({<Date={"$(=date(Today()-1))"}>}ID)