Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

yesterday sale

hi

i need yesterday's sales quantity so i wrote the code below, but it doesn't give true answer. any one knows what problem is with my code?

Sum ({ < [d Gregorian Full Date]={"$(=Date(today()-1))"}>} [F Sr Sales Quantity])

11 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Can you attach sample file.

Regards

ASHFAQ

Not applicable
Author

hi

at end i found the problem. its the correct syntax:

Sum ({ < [d Gregorian Full Date]={"$(=Date((today()-1) ,'YYYY-MM-DD'))"}>} [F Sr Sales Quantity])

tnx a lot for your help about date format.

regards

Mana