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: 
qlik4asif
Creator III
Creator III

What is wrong in expression?

Sum({<[End Date]={">= $(=Date#(Max([End Date])-6,'MM/DD/YYYY')) <= $(=Date#(Max([End Date]),'MM/DD/YYYY'))"}>}[Runtime [sec])/60

1 Solution

Accepted Solutions
sunny_talwar

May be try this

Sum({<[End Date]={">=$(=Date(Max([End Date])-6,'MM/DD/YYYY'))<=$(=Date(Max([End Date]),'MM/DD/YYYY'))"}>}[Runtime [sec])/60

Changes made

1) Changed Date#() to Date() function

2) Removed spaces around >= and <= in the set analysis

View solution in original post

2 Replies
sunny_talwar

May be try this

Sum({<[End Date]={">=$(=Date(Max([End Date])-6,'MM/DD/YYYY'))<=$(=Date(Max([End Date]),'MM/DD/YYYY'))"}>}[Runtime [sec])/60

Changes made

1) Changed Date#() to Date() function

2) Removed spaces around >= and <= in the set analysis

praveenkumar_ma
Partner - Creator
Partner - Creator

May be Helpful ---

Sum({<[End Date]={'>=$(=Date(Max([End Date])-6,'MM/DD/YYYY'))'},

[End Date]={'<=$(=Date(Max([End Date]),'MM/DD/YYYY'))'}>}

[Runtime [sec])/60