Link to home
Start Free TrialLog in
Avatar of Tocogroup
TocogroupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How do I sort a QlikView Bookmarks list in alphabetical order ?

Hi All,

I have a list of items in a bookmark object on a QlikView sheet. How can I create a list in ascending alphabetical order ?

Toco
Avatar of Rob
Rob
Flag of Australia image

You can't...sucks doesn't it...

What I did is recreate all the bookmarks as a user table.  2 fields, friendly name and the id of the bookmark e.g. BM02.  Then I set up a trigger on that table to select the bookmark, which is the 2 column of the user table.
Avatar of Tocogroup

ASKER

By a User table, do you mean an Inline table, or just an Excel sheet loaded into QV as a dimension table ?
Either will work. But yes, I meant inline
OK. still not understanding how this should work.

I've created an inline table which loads in my 2 fields of data (Bookmark ID and Bookmark Name). The Bookmark ID is the same for all the entries in the table (BM03), and the Bookmark Names are in alphabetical order.
I've created a Bookmark object which has a list of the same bookmarks (but not in alphabetical order).

How does my inline table link to my Bookmarks object and display the bookmarks in alphabetical order ?

Should I create a listbox of bookmarks ?
Now under document properties, under triggers, you set up what happens when you select a value from your inline table.  One of the options is Apply Bookmark.  it will ask show an expression field where you enter the corresponding field name for your inline table that holds the bookmark you want to apply.
Still nothing happening. See attached screenshots.
Screenshot.PNG
Screenshot1.PNG
I think you need to put the equals sign in there =BookmarkID
Hmmm...so I have

1. Set up a trigger in Document Properties (=BookmarkID)
2. Reloaded the script.

But the Bookmarks object still displays the list of bookmarks as when I created them and not in alphabetical order.

??
But instead of showing the Bookmarks object, you show your user defined table because that you can sort.  I'll try to knock up a demo of what i mean
I've attached a test for you.  You can see by clicking each of the values in the Name field that it applies the corresponding bookmark.

My memory has come back to me whilst doing this.  I never had did it this way (or never had to show the bookmarks in alphabetical order) but rather used a variable and a user input table with a list of the reports.  When they'd match it would show and hide certain reports on the screen.

I realised after doing this that most of the people I was generating the reports for didn't want qlikview, they wanted a report so I started to use the Report Editor and never looked back.
EETesting.qvw.txt
That's interesting....

I realised after doing this that most of the people I was generating the reports for didn't want qlikview, they wanted a report so I started to use the Report Editor and never looked back.


You mean QV's dynamic reporting wasn't what they wanted to use ?
Qlikview gave me the ability to create awesome reports but the people the reports were for didn't want to interrogate the data themselves.
I also found that most people didn't know how to use Qlikview. And I'm not talking about the interface, but they didn't understand how the data went together so they couldn't check if the report was accurate or even if it was what they expected. Know what I mean?
Yes that's true. Casual business users can be a little intimidated by QV applications. Apart from the impressive charts they like their data in tabular format too.

By the way, I can't open your example file. My employer's system blocks downloads, and my personal QV installation doesn't allow me to open your .QVW file.
so if you've got the personal version, how do others view your work?

I'll do some screenshots for you
I have the Personal version at home. At work I use the Enterprise version. But external downloads are blocked.
Were you able to take it to work?
I couldn't download it as anything except a text file. If I open it in situ it opens as a text file.
The previous reply of mine doesn't make sense. What I mean is....

I tried to open it so as to save it in a format other than .txt. However, when I open it is a mass of code which doesn't allow me to save it as anything other than a text file.
All you need to do is remove the .txt from the filename
How do I do that ? Right-clicking is no good, there are no options to either save or rename the file. Double-clicking just opens the file in hieroglyphics mode.

I think I'd better give up on this question as I'm not getting anywhere.
Sorry I've been out of touch, just had the birth of my second son :)
I think this is worth pursuing still but up to you
Congratulations. That's great news.
I clicked on the link (from my home PE QV account) and can't open the QV file. I'll try to download it from work tomorrow.
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Right...got it. I see what you mean now. Mine's up and running.

Thanks for persisting !

Toco
that's great news :) glad we got there in the end