Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dferreirogft
Contributor III
Contributor III

Dimension Limit don't work (example attached )

Good Afternoon,

I'm trying to get the dimension limits to work on a very simple straight table but I cannot understand what this option is doing.

I want Qlikview to return me thoose rows that aggregated sums up to the 80% of the total of the rows.

I have different results using qlikview capability or an embeded formula to manual calculate the limit.

Could someone help me?

Captura.PNG

1 Solution

Accepted Solutions
dferreirogft
Contributor III
Contributor III
Author

Just checked with QV 11 and it's working... QV 12 Bug detected

View solution in original post

21 Replies
ali_hijazi
Partner - Master II
Partner - Master II

this shows the top 3

sum({<pais={"=aggr(rank(sum(nro)),pais)<4"}>} nro)

you can put a variable instead of  hard-coded ranks e.g. 4

I can walk on water when it freezes
qv_testing
Specialist II
Specialist II

go to  Dimension Limits --> uncheck Show Others property

Capture.PNG

hope it helps

dferreirogft
Contributor III
Contributor III
Author

Hi,

This is not what I aim for. This will show me the top 3, but not those rows that sum up the 80% of the total

dferreirogft
Contributor III
Contributor III
Author

Already tried and, not working:

Captura.PNG

sunny_talwar

It's weird, I have used it in the past without issues... but even your expression one isn't correct... you need to sort by an expression to get the right result

Capture.PNG

dferreirogft
Contributor III
Contributor III
Author

You're right. With the expression it works, but i need to know why it is not working with the usual flow.

It will be applied to a table with 20 expresions. So using expression like limit won't be a solution for me...

qv_testing
Specialist II
Specialist II

go to  Dimension Limits --> uncheck Show Others property


Capture.PNG

See attached..

dferreirogft
Contributor III
Contributor III
Author

oh! it's magic... what did you do to solve it?

sunny_talwar

I am curious too