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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with date in set expression

Hi,

Can someone please help me with below set expression.

I'm having trouble with  [Expected Funding Date], I want it to be today() -1:

sum({<  [Transaction TFS Status Desc]  = {'Funded','Lost','Rejected'},
        [Expected Funding Date] = {'< =$( today()-1)'},
        [Transaction Status Date Num]   = {'>=$(v12MonthsAgoStart)'}      
>}USD)

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

You should format the output of today()

[Expected Funding Date] = {"<=$(=DATE(today()-1,'MM/DD/YY'))"},

View solution in original post

3 Replies
Clever_Anjos
Employee
Employee

You should format the output of today()

[Expected Funding Date] = {"<=$(=DATE(today()-1,'MM/DD/YY'))"},

Not applicable
Author

Thanks Anjos.. Appreciate your help.

sunny_talwar

Try this may be:

=Sum({<[Transaction TFS Status Desc]  = {'Funded','Lost','Rejected'},

        [Expected Funding Date] = {"$(='<=' & Date(Today()-1, 'MM/DD/YYYY'))"},

        [Transaction Status Date Num]   = {'>=$(v12MonthsAgoStart)'}>}USD)