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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
mg_gsi_da
Creator
Creator

Using Actions to select upcoming years on a sheet

I try to use the "Actions" function on a sheet to automatically select all future years.

 

It works well with a fixed value but not dynamic. Means the actual year should be evaluated like year(today())

mg_gsi_da_0-1627370044092.png

This works as expected and selects all years >2021

 

I can also set a variable or formula but only for one year

mg_gsi_da_1-1627370515965.png

This would set 2021

 

mg_gsi_da_2-1627370625009.png

This of course doesn't work

 

 

let vGJAHR2 = year(Today())

mg_gsi_da_3-1627371051621.png

Gives 2021 as well. Also =$(vGJAHR2) would result in 2021

 

 

How to modify the expression in the "Action" or the definition of the variable to get alle years selected >the actual year?

Labels (1)
1 Solution

Accepted Solutions
ManuelRühl
Partner - Specialist
Partner - Specialist

Hi,

Try this: '=Geschäftsjahr>=year(today())'
with simple apostrophes.

Schöne Grüße aus Hesse 😉

Manuel Rühl

View solution in original post

2 Replies
ManuelRühl
Partner - Specialist
Partner - Specialist

Hi,

Try this: '=Geschäftsjahr>=year(today())'
with simple apostrophes.

Schöne Grüße aus Hesse 😉

Manuel Rühl
mg_gsi_da
Creator
Creator
Author

Great. This works.

Die Hesse komme...

 

Danke Gruß Michael