Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to show top 10 values in 10 different 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.
May be use FirstSortedValue() function or Max() function. To give a better response, it would be best if you can share some sample data.
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.
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)
In text box I want to display like...
text box1- west: 15
text box2- north:16
text box3- south:20
use rank() and you can take the value for rank 1 to 10
hi gowtham,
can u give me sample expression....
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)
its showing error......nested aggregation not allowed.