Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
stevejones1
Contributor III
Contributor III

Is this expression correct?

Hi

Here is my expression to get data for past 5 weeks , i don't want to see current week's data , but with below i can see current weeks data , also i want this expression to be independent of all other selections, can some one please help me in getting correct expression.

Thank you!

CaseOpenDate = {'>$(=WeekStart(Max(Date),-5))<$(Date(WeekStart(Max(Date))))'}

Here is my complete expression :

=count({1<Indicator = {'Created'},CaseOpenDate = {'>$(=WeekStart(Max(Date),-5))<$(Date(WeekStart(Max(Date))))'},CaseType ={'TS'}>} DISTINCT(CaseNumber))

1 Solution

Accepted Solutions
sunny_talwar

An equal sign seem to be missing

=Count({1<Indicator = {'Created'}, CaseOpenDate = {">$(=WeekStart(Max(Date),-5))<$(=Date(WeekStart(Max(Date))))"}, CaseType = {'TS'}>} DISTINCTCaseNumber)

View solution in original post

1 Reply
sunny_talwar

An equal sign seem to be missing

=Count({1<Indicator = {'Created'}, CaseOpenDate = {">$(=WeekStart(Max(Date),-5))<$(=Date(WeekStart(Max(Date))))"}, CaseType = {'TS'}>} DISTINCTCaseNumber)