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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Text Box Expression to show last week Average - Error In Set Modifier

Hello,

I am experiencing an error in the set modifier for the following Text Element

=num(Avg({1<CC_Date={">=$(=Date(WeekStart(Max(CC_Date), 'M/D/YYYY'))<=$(=Date(WeekEnd(Max(CC_Date)), 'M/D/YYYY'))"}>} ([FCR % (=>80%)])), '#.##%')

My Date field is CC_Date

And I want to who the average for the week prior of the field [FCR % (=>80%)]

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Linsey,

Try this,

=num(Avg({1<CC_Date={">=$(=Date(WeekStart(Max(CC_Date)), 'M/D/YYYY'))<=$(=Date(WeekEnd(Max(CC_Date)), 'M/D/YYYY'))"}>} [FCR % (=>80%)]), '#.##%')

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Linsey,

Try this,

=num(Avg({1<CC_Date={">=$(=Date(WeekStart(Max(CC_Date)), 'M/D/YYYY'))<=$(=Date(WeekEnd(Max(CC_Date)), 'M/D/YYYY'))"}>} [FCR % (=>80%)]), '#.##%')

Not applicable
Author

Thank you!