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

Date calculations

Hi,

i have a requirement

i need to show 4months before data when i select month in straight table, if nothing is selected should show all data

i need same solution for weeks and quarters

please help

Thank you

4 Replies
ecolomer
Master II
Master II

see this example

MK_QSL
MVP
MVP

Please check enclosed file showing table needed for YearMonth selection..

Same way you can create Quarter formula...

In case, user select more than one YearMonth,

change YearMonth with Max(YearMonth) in expression

Not applicable
Author

Thanks Enrique Colomer

Can you prove solution for below

1. i need to show 4weeks before data when i select week in straight table, if nothing is selected should show all

2. i need to show 4 Quarters before data when i select Quarter in straight table, if nothing is selected should show all

ecolomer
Master II
Master II

The examples I attached below runs with yours requeiriments