Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
stevejones1
Contributor III
Contributor III

Latest 5 weeks of data

Hi

I have 2 ranks in my data , rank for latest quarter and rank for latest week , how can i write an expression to show chart for past 5 weeks of data and also is there a way that i could reverse the autonumber?

Please help

Thanks!

5 Replies
Anonymous
Not applicable

what about chart sort the QtrWk dim as expression

Descending order of QtrWK

stevejones1
Contributor III
Contributor III
Author

=count({1<Indicator = {'Created'},YrQtrWkRank = {'max(YrQtrWkRank)-5))'},CaseType ={'TS'}>} DISTINCT(CaseNumber))

Can someone help me what wrong in this expression , i am trying to shows data for max 5 values

Attached the app.

jcampbell474
Creator III
Creator III

Sorry, I initially uploaded the wrong app.  Please try this.

=Count({1<CaseType ={'TS'},Indicator = {'Created'},YrQtrWkRank = {"=Rank(YrQtrWkRank)"}>}DISTINCT(CaseNumber))

stevejones1
Contributor III
Contributor III
Author

Looks like using this i get all the quarters data , i just want to see for Current quarter , basically rolling 5 complete weeks.

stevejones1
Contributor III
Contributor III
Author

Can someone take a look at this ?