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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
hafaneh
Contributor III
Contributor III

Date

Hello,

im trying to do this 

Sum({<Date = {"$(=Date(Today() - 30))"}>} Stock*WAC)

to take the data for the date 30 days bofore i want it for only one day if its 1/nov i want 2/oct data how can i do it everytime i i try somthing i get 0 even tho i have data for the whole year  

1 Reply
vincent_ardiet_
Specialist
Specialist

Check in a textbox what   =Date(Today() - 30) is returning and see if this is matching the format of [Date].
For example, if [Date] is stored in YYYY/MM/DD format but the expression is returning a result in the format DD/MM/YY this will not work.