Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
baarathi
Creator III
Creator III

How to display past records based on current selections?

How to display past records based on current selections?

For example, if we select a particular year-month, previous 3 or 4  months details should be displayed....

6 Replies
Anil_Babu_Samineni

Perhaps this?

Sum({<[year-month] = {">=Condition <= Condition"}>} Measure) // Here, condition you can use as per needs

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tresesco
MVP
MVP

Check it here: Selected Dates Range for idea.

baarathi
Creator III
Creator III
Author

Thanks a lot

baarathi
Creator III
Creator III
Author

Thanks a lot but sir,is there a way other than using set analysis?

baarathi
Creator III
Creator III
Author

Sir... Should we apply this query as dimension or expression?

tresesco
MVP
MVP

Ideally - expression.