Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Lets say my data is something like :
Customer | Region | Sub Region | Country
If I select a particular customer from a list box can I use :
getcurrentselections(Customer)
To return the Region / Sub Region / Country in an expression? I want to show top 10 sales items for the Customer / Country / Region etc?
Thanks in advance.
Yes this is the direction I want to go. Can you explain what the P does? Is it a system variable?
Find in your Help: Set Analysis.
There are also many additional documents and informations on the forum
P() gives possible values
E() gives excluded values
regards
Darek
A slight alternative to the solution Dariusz Mielczarek provided you is to disregard the customer selection using <Customer=> so that your report is filtered just be the sub region and above.
Let us know if you have additional questions
regards
Darek
Thanks guys, still learning as you can see. I have 2 days formal training coming up which should cement my knowledge so far!!!
Thanks guys was able to figure the rest out. Much appreciated!!!
Here is very good book, you may like: http://www.packtpub.com/qlikview-11-developers/book
good luck with QV
regards
Darek
But now have another question. I'd like to generate a heading on the fly, ie use a text item and the following.
="Top 10 Items for " & GetFieldSelections(Customer)
Is there an easy way to return the Region, Subregion etc the same way?
Look at the CONCAT function. Be careful because you can end up with very long labels.