Solved

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

Posted on 2014-09-08
26
467 Views
Last Modified: 2014-10-07
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
0
Comment
Question by:Tocogroup
  • 14
  • 12
26 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40311983
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.
0
 

Author Comment

by:Tocogroup
ID: 40323328
By a User table, do you mean an Inline table, or just an Excel sheet loaded into QV as a dimension table ?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40324333
Either will work. But yes, I meant inline
0
 

Author Comment

by:Tocogroup
ID: 40332249
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 ?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40332407
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.
0
 

Author Comment

by:Tocogroup
ID: 40332512
Still nothing happening. See attached screenshots.
Screenshot.PNG
Screenshot1.PNG
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40332528
I think you need to put the equals sign in there =BookmarkID
0
 

Author Comment

by:Tocogroup
ID: 40338540
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.

??
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40339019
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
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40339235
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
0
 

Author Comment

by:Tocogroup
ID: 40343961
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 ?
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40343973
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?
0
 

Author Comment

by:Tocogroup
ID: 40346724
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.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40346887
so if you've got the personal version, how do others view your work?

I'll do some screenshots for you
0
 

Author Comment

by:Tocogroup
ID: 40351534
I have the Personal version at home. At work I use the Enterprise version. But external downloads are blocked.
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40351552
Were you able to take it to work?
0
 

Author Comment

by:Tocogroup
ID: 40352052
I couldn't download it as anything except a text file. If I open it in situ it opens as a text file.
0
 

Author Comment

by:Tocogroup
ID: 40352253
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.
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40353762
All you need to do is remove the .txt from the filename
0
 

Author Comment

by:Tocogroup
ID: 40354025
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.
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40361667
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40361669
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
0
 

Author Comment

by:Tocogroup
ID: 40361955
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.
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 40361966
Thanks! It's certainly a wonderful experience :)

I forgot you had the personal version at home, sorry, you will need to open it on a full version
0
 

Author Closing Comment

by:Tocogroup
ID: 40365687
Right...got it. I see what you mean now. Mine's up and running.

Thanks for persisting !

Toco
0
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 40365704
that's great news :) glad we got there in the end
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now