This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I am looking to replicate below logic in power BI but unfortunaltly not getting exact result.
(case when Upper([CASE ID]) != "NON-AUDITABLE" then
DENSERank(RowId(), "ASC", [TICKET NUMBER])
DENSERank(RowId(), "ASC", [AUDIT BUNDLES ID])
end)=1
I have tried below measure but still not getting the desired result:
Calculated Column =
IF(
UPPER(YourTable[CASE ID]) <> "NON-AUDITABLE",
IF(
RANKX(
ALL(YourTable),
YourTable[TICKET NUMBER],
,
ASC,
Dense
) = 1 ||
RANKX(
ALL(YourTable),
YourTable[AUDIT BUNDLES ID],
,
ASC,
Dense
) = 1,
1,
0
),
0
)
DENSE_RANK is not a built-in function in Power BI. However, you can use RANKX instead
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |