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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Aprkturk
Contributor II
Contributor II

How to assign variable to filter?

Hi,

I'm currently new user for Qlik. Let me explain what I need: Suppose date you pick the any date from the date filter then a line chart will show last 7 day's value for that day u picked. Assume that you pick the 1.1.2025 line chart will show the datas between 25 Dec 2025 and 1 Oct 2025 but other objects work according the just 1.1.2025 value. Many thanks

Labels (4)
1 Solution

Accepted Solutions
JHuis
Creator III
Creator III

You can use set analysis

more like this Sum({<Date={">=Date($(=Max(Date))-7 ) <=$(=Max(Date))"}>}Measure)

or use https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Visualizations/alter...

 

Both will work. 

View solution in original post

1 Reply
JHuis
Creator III
Creator III

You can use set analysis

more like this Sum({<Date={">=Date($(=Max(Date))-7 ) <=$(=Max(Date))"}>}Measure)

or use https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/Visualizations/alter...

 

Both will work.