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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create a bookmark

I have a report based on sales YTD. How do I create a bookmark that show all customersnumbers

that has YTD>4000. My calculation for YTD is  Sum({$<$(vSetYTD)>} [DebPris]/100) .

To be able to create a bookmark I tried to connect a macro to a button to achieve the right customers and then

create the  bookmark of it, but I always get all customers.

sub StatKunder

set f=ActiveDocument.GetField("[KundNr]")

f.Select "Sum({$<$(vSetYTD)>} [DebPris]/100)>4000"

end sub

What do I do wrong or is it an easier way to do it?

kindly

Håkan

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a Select in Field action to the button and use your field KundNr and search string ='=Sum({$<$(vSetYTD)>} [DebPris]/100)>4000' as parameters. And add a Create Bookmark action to the button too. No need for macro's.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a Select in Field action to the button and use your field KundNr and search string ='=Sum({$<$(vSetYTD)>} [DebPris]/100)>4000' as parameters. And add a Create Bookmark action to the button too. No need for macro's.


talk is cheap, supply exceeds demand