Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi, this one is a bit complicated so i'll try and explain as best as I can.
I have a table with Order ID, Seller, Ranking of price.
Each order has a different number of rankings. E.g Order 1 might have 6 sellers so would have rankings 1-6.
I would like to calculate the bottom 3 but factor in for orders that have less than 6 rankings. E.g Order 2 has 5 rankings so my measure should only count the bottom 2 as being 'bottom 3'. Order 3 has 4 rankings so my measure should only count the bottom 1 ranking.
Right now I have a variable that is able to calculate the number of rankings per order:
My final goal is to have a table with seller and number of orders that the seller ranked in the bottom 3.
Solved! Go to Solution.
Hi @Anonymous ,
You could create a new measure based on the "isBottom3".
_isBottom3 =
SUMX ( ALLEXCEPT ( Example, Example[Seller] ), [isBottom3] )
Here is the result.
Hi @Anonymous ,
Could you please share your sample data and excepted result to me if you don't have any Confidential Information? Please upload your files to OneDrive and share the link here.
@Greg_Deckler @v-eachen-msft https://1drv.ms/u/s!AmSmgu3y1hya6Hs21_KKtUPVBeXM?e=NAk0qA - sample file.
The expected output is described above. Thank you
Hi @Anonymous ,
You could create a new measure based on the "isBottom3".
_isBottom3 =
SUMX ( ALLEXCEPT ( Example, Example[Seller] ), [isBottom3] )
Here is the result.
Great! That worked! Thank you very much
Sample data please. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Refer:https://community.powerbi.com/t5/Desktop/TOP-and-bottom-10-over-a-3-different-measures/td-p/158466
https://www.tutorialgateway.org/power-bi-top-10-filters/
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 61 | |
| 41 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 117 | |
| 37 | |
| 34 | |
| 30 |