Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jlampard40
Contributor III
Contributor III

Today() - what am I doing wrong?

I have the following set analysis formula:

=count({<[WBR_Stat_Date]={'Today()'}>} [WBR_Event_Key])

I would like to just count the [WBR_Event_Key] relating to those records which only have today's date on them.  The field for this is [WBR_Stat_Date] - I need to identify the data relevant to today() only.  Help!

many thanks. 

1 Solution

Accepted Solutions
sunny_talwar

Try this

=Count({<[WBR_Stat_Date] = {"$(=Today())"}>} [WBR_Event_Key])

Or this

=Count({<[WBR_Stat_Date] = {"$(=Date(Today()))"}>} [WBR_Event_Key])

 

View solution in original post

2 Replies
sunny_talwar

Try this

=Count({<[WBR_Stat_Date] = {"$(=Today())"}>} [WBR_Event_Key])

Or this

=Count({<[WBR_Stat_Date] = {"$(=Date(Today()))"}>} [WBR_Event_Key])

 

jlampard40
Contributor III
Contributor III
Author

Thanks Sunny! 🐵