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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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
MVP
MVP

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
MVP
MVP

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