Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear All,
i am new to DAX and i want to know that how to calculate first min, second min and third min value in a column. i.e.
| Item | Amount |
| 123444556 | 60 |
| 123444556 | 90 |
| 123444556 | 70 |
| 123444556 | 55 |
| 123999666 | 20 |
| 123999666 | 50 |
| 123999666 | 30 |
| 123999666 | 15 |
| 999333547 | 10 |
| 999333547 | 40 |
| 999333547 | 20 |
| 999333547 | 5 |
so these 3 items formula should give me first minimum, second and third minimum value.
Thanks in Advance
Solved! Go to Solution.
@Anonymous , I think Rank should help you
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
Depending on your requirement:
Depending on your requirement:
Thanks
In theory, you could also probably use a TopN filter I suppose...
@Anonymous , I think Rank should help you
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
@Anonymous across full table or 1st, 2nd, 3rd for each item, it is going to be different solution based on your requirement.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
THanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |