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
Hi ,
I have premiums below and want to calculate second lowest premuim .From below example I need to get 2000 has second lowest
premium.
| Premium |
| 5000 |
| 4000 |
| 30000 |
| 2000 |
| 1000 |
Pleasehelp on this asap.
Solved! Go to Solution.
pls try
Measure =
VAR _MinAll = MINX(ALLSELECTED('Table'[Premium]),[Premium])
RETURN
CALCULATE(MIN('Table'[Premium]),FILTER(ALL('Table'),'Table'[Premium]>_MinAll))
-----
Measure = MAXX(
TOPN(2,VALUES('Table'[Premium]),'Table'[Premium],ASC),'Table'[Premium])
or
Measure =
VAR _MinAll = MINX(ALLSELECTED('Table'[Premium]),[Premium])
RETURN
CALCULATE(MIN('Table'[Premium]),FILTER(ALL('Table'),'Table'[Premium]>_MinAll))
| Premium |
| 5000 |
| 4000 |
| 30000 |
| 2000 |
| 1000 |
| 1000 |
Need to get second lowest from above table as 2000
pls try
Measure =
VAR _MinAll = MINX(ALLSELECTED('Table'[Premium]),[Premium])
RETURN
CALCULATE(MIN('Table'[Premium]),FILTER(ALL('Table'),'Table'[Premium]>_MinAll))
-----
Measure = MAXX(
TOPN(2,VALUES('Table'[Premium]),'Table'[Premium],ASC),'Table'[Premium])
pls try this
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!