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: 
beck_bakytbek
Master
Master

Dynamic bookmark with two values

Hi Folks,

i have a question: is that possible to create a dynamic bookmark with 2 values:

For instance: my data do look like:

MyYear, Turonver

2022 , 100

2021, 50

2022, 25

 

i created a dynamic value with only 1 value and it does work: =MyYear = Year(Today())

i tried to expanded this expression and created this expression: =MyYear = Year(Today()) and Year(Today())-1 but it does not work.

Has anyone experienced similar case and does anyone have an idea how to create a dynamic bookmark with 2 values. I only want to show the current and previous year when i activate my bookmark.

Thanks a lot

Bek

Labels (1)
1 Solution

Accepted Solutions
justISO
Specialist
Specialist

Hi, have you tried >= without 'and' condition?:

=MyYear >= Year(Today())-1

If this not work, maybe set analysis could help here, something like this:

{<MyYear={"=MyYear>=year(today())-1"}>}

View solution in original post

2 Replies
justISO
Specialist
Specialist

Hi, have you tried >= without 'and' condition?:

=MyYear >= Year(Today())-1

If this not work, maybe set analysis could help here, something like this:

{<MyYear={"=MyYear>=year(today())-1"}>}

beck_bakytbek
Master
Master
Author

Hi @justISO  thank you very much, it does work,

thanks a lot for your time and your help