Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

how to show top 10 values in 10 different text boxes..........any one know pls help me...

1 Solution

Accepted Solutions
MVP
MVP

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

May be use FirstSortedValue() function or Max() function. To give a better response, it would be best if you can share some sample data.

10 Replies
MVP
MVP

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

May be use FirstSortedValue() function or Max() function. To give a better response, it would be best if you can share some sample data.

MVP
MVP

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

  1. Max(NumericField)
  2. Max(NumericField, 2)
  3. Max(NumericField, 3)
  4. Max(NumericField, 4)
  5. Max(NumericField, 5)
  6. Max(NumericField, 6)
  7. Max(NumericField, 7)
  8. Max(NumericField, 8)
  9. Max(NumericField, 9)
  10. Max(NumericField, 10)
Not applicable

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

tanq for replay.......

FYI..

I have one dimension like..

region,total

east  10

west   15

south 20

north 16

center 11

the above example we want to display top 3 values in 3 text boxes.

MVP
MVP

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

‌Are you looking to see top three regions or top 3 totals? For totals you can use Max() function like above and for top 3 region you can use FirstSortedValue() function.

FirstSortedValue(Region, -Total)

FirstSortedValue(Region, -Total, 2)

FirstSortedValue(Region, -Total, 3)

Not applicable

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

In text box I want to display like...

text box1-  west: 15  

text box2-  north:16

text box3-   south:20            

gautik92
Valued Contributor III

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

use rank() and you can take the value for rank 1 to 10

Not applicable

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

hi gowtham,

can u give me sample expression....

MVP
MVP

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

‌for text box 1

=FirstSortedValue(Region, -Total, 3) & ': ' & Max(Total, 3)

for text box 2

=FirstSortedValue(Region, -Total, 2) & ': ' & Max(Total, 2)


for text box 3

=FirstSortedValue(Region, -Total) & ': ' & Max(Total)

Not applicable

Re: how to show top 10 values in 10 differnt text boxes..........any one know pls help me...

its showing error......nested aggregation not allowed.