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

Error in Set Modifier Expression

Hello,

I am receiving an error for the following expression:

=Sum({1<CC_Date = {"$(='>=' & Date(WeekStart(Max(CC_Date)), 'M/D/YYYY') & '<=' & Date(WeekEnd(Max(CC_Date)), 'M/D/YYYY'))"}[Abandoned])

My goal is to show the sum of abandoned for the max week in the data.

1 Reply
marcus_sommer

Try this:

=Sum({1<CC_Date = {">=$(=Date(WeekStart(Max(CC_Date)), 'M/D/YYYY'))

                                      <=$(=Date(WeekEnd(Max(CC_Date)), 'M/D/YYYY'))"}>} [Abandoned])

- Marcus