To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Guys Does Anyone know How to pick just Top 3 When We have the Rank or Same Values for top Values.
Solved! Go to Solution.
@Anonymous https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
*If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.
@Anonymous https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
*If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.
You would need to use another column or measure as a tie breaker. The TOPN function accepts multiple ranking parameters, so you just need to decide how you want to determine what is in the top 3 - alphabetical, most recent, earliest etc. If you don't have a column which uniquely defines a row then you could add an index column using Power Query.
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |