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: 
mhmmd_srf
Creator II
Creator II

Selected Value should pass to Variable

Hi All,

I have an Qlik Sense App. where I have a variable on Date field and a filter on date field.

I want to value is passing from variable to Filter, however it is not passing from Filter to Variable.

Variable in First Page:

Filter on second page:

The app by default should show for current date. But if I select any date from filter in second page it is not reflecting to first page.

I am attaching the app.

Could anyone please help out to resolve this.

Thanks,

Sarif

15 Replies
mhmmd_srf
Creator II
Creator II
Author

There is an extension for Variable.

So I want this to affect this Variable box as well as the Chart.

Anil_Babu_Samineni

Try to save that expression in variable and see, because i am not having the extension over my environment.

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
hacr
Creator
Creator

You Date field is set as a Variable, which is set as STATIC. vDATE = 10/16/2017. You have to link it to your filter

hacr
Creator
Creator

Change the Variable to your vDATE1 and remember to evaluate your expression: $(vDATE1)

I added the working app

mhmmd_srf
Creator II
Creator II
Author

Thanks Hans,

It is showing the correct date. But the problem is if you change the date from the extension variable , it is not going to affect the chart.

This is the reason we used the extension.

Could you please check once and advise accordingly.

Thanks,

Sarif

hacr
Creator
Creator

I'm not sure how that could be obtained, as I don't know the extension you are using. Somehow you need to write the field value to a variable.