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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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