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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Today()-1 won't work how will I select yesterday

Dear all,

I'm trying to always select yesterday in my data set because we don't have real life data and yesterday is the most recent data. But when selected an action in triggers i use today() result is today because we reload after 12pm.

So i want the data from yesterday  I tried today()-1 it doesn't work. Hope anyone could help me. Thanks!

Labels (1)
1 Solution

Accepted Solutions
Miguel_Angel_Baeyens
Employee
Employee

Hi,

Just try instead

=Date(Today() -1)

The Date() function should return in the same format your date field is.

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens
Employee
Employee

Hi,

Just try instead

=Date(Today() -1)

The Date() function should return in the same format your date field is.

Hope that helps.

Miguel

Not applicable
Author

Thanks! Finally it will work! Usefull help around here,