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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I am trying to get the next bottom ranked value that is not zero. This is what I currently have written to return the first ranked lowest value.
Solved! Go to Solution.
Hi @Anonymous
Please try
Least COUNT =
VAR FilteredTable =
FILTER ( System_Users, [Sum Audits and Entries] <> 0 )
RETURN
CALCULATE (
Audit[Sum Audits and Entries],
FILTER (
FilteredTable,
RANKX ( FilteredTable, [Sum Audits and Entries],, ASC, DENSE ) = 1
)
) + 0
Hi @Anonymous
Please try
Least COUNT =
VAR FilteredTable =
FILTER ( System_Users, [Sum Audits and Entries] <> 0 )
RETURN
CALCULATE (
Audit[Sum Audits and Entries],
FILTER (
FilteredTable,
RANKX ( FilteredTable, [Sum Audits and Entries],, ASC, DENSE ) = 1
)
) + 0
It worked!!!!! Yay!!! Thank you v much!!
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!
| User | Count |
|---|---|
| 16 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 22 | |
| 20 | |
| 17 | |
| 12 |