I need to show top 10 values using Spotfire. I googled lot but I could not find the best solution.
I followed this tutorial: Creating a Dynamic Top Ten Chart but did not find success.
How can I do this?
How to limit a visualization by the top 10 values:
There are 2 ways you could do this. I will list them both with pros/cons.
Method 1 - Visualization Level
Rank([values],"desc")<11
where [values] is the numeric column you want the top 10 of. Example below. Note all of the filters are untouched on the right.
Method 2 - Analysis Level
Rank([values],"desc")
. Example below. Note the RANK filter on the right and how I have it narrowed down to a max of 10.
Let me know if you are still having issues.
Edit: Right click and open image in a new tab if you are having trouble seeing the content of my screenshots. The source imgur link should have the larger resolution viewable.
To do a Top 10 Report in Tableau.
Approach 1:(Query level)
Using custom sql
: Edit your custom sql to something like this.
select top 10 * from table order by Id desc
Approach 2:(Report level)
Using Index
1.Create a calculated field. `Index()`
2.Change it to discrete.
3.Drag it to column shelves(It should be the first column)
4.Change it to continuous drag it to filters shelves and select `1-10`
https://googletpoint.wordpress.com/2015/04/24/how-to-show-top-10-values-in-spotfire-6-5-2/
Check the above link.. It will be helpful
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.