Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys
How can I change the limitation on the dimensions to be calculated on a field that I specify? I want to use a calculated measure to limit the dimension?
Thanks in advance
Hi Derick,
Great, that makes things easier! What you can do is ranking all the customers by their YTD sales + My week sales, create a ranking and applymap this.
I'll put it in concepts first since you are familiar with scripting:
If you have any questions, just let me know!
Jordy
Climber
Hi Derick,
Do you want to do this based on a new created measure in the front end?
If you want to do this you need to create a measure and return a single value (example: Sum(Amount)).
Jordy
Climber
Hi Jordy
No, I want to limit my dimension based on a calculation of my YTD sales + My week sales and only pick the top 100 from that
or I would like the chart to be ranked by top 100 customers according to their sum(week sales + to week target)
I do not want to show this calculation in the bar chart.
Hi Dereck,
There are some solutions for this. Are you familiar with the script editor? This would be the best and most safe solution.
Jordy
Climber
Hi Jordy
Yes, I am familiar with the script editor, What would you suggest me to do?
Could I hardcode the limitation? or maybe make a synthetic selection in the background?
Thank you for your time
Hi Derick,
Great, that makes things easier! What you can do is ranking all the customers by their YTD sales + My week sales, create a ranking and applymap this.
I'll put it in concepts first since you are familiar with scripting:
If you have any questions, just let me know!
Jordy
Climber
wow... that feels like a very convoluted way to do it... is there any way that Qlik can just do this natively? i mean, if it's supposed to be so powerful, why does the limitation parameter feel so... limited...
Is there any way to just specify an expression and a number of lines, so the highest 5 values of "expression"?
sorry if i sound so bitter... i am a programmer used to having full control in a database language and the way you do stuff in Qlik feels really backwards from normal logic.
Welcome to the world of Qlik, it's all about workarounds. From day 1, you will meet unnecessary limitations, but there is a great community, which has awkward workarounds for almost everything.