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! It's time to submit your entry. Live now!
Hi All,
I want to count in sequence but using many dax or create new column i get duplicate sequence no. in duplicate data see Below:-
I want count see below:-
Regards,
NICK
Solved! Go to Solution.
First add an Index Column in your Table from the Query Editor >>"Add Column" tab
Then you can use this formula
Expected Situation 1 =
RANKX (
FILTER ( Table1, Table1[Sub] = EARLIER ( Table1[Sub] ) ),
Table1[Value]
- Table1[Index] / 1000,
,
DESC,
DENSE
)
And this for expected situation 2
Expected Situation 2 = RANKX ( Table1, Table1[Value] - Table1[Index] / 1000,, DESC, DENSE )
Please see attached sample file as well
Hi All,
I think right now there is no solution of this situation.
That's why no body answering.
![]()
![]()
![]()
regards,
NICK
First add an Index Column in your Table from the Query Editor >>"Add Column" tab
Then you can use this formula
Expected Situation 1 =
RANKX (
FILTER ( Table1, Table1[Sub] = EARLIER ( Table1[Sub] ) ),
Table1[Value]
- Table1[Index] / 1000,
,
DESC,
DENSE
)
And this for expected situation 2
Expected Situation 2 = RANKX ( Table1, Table1[Value] - Table1[Index] / 1000,, DESC, DENSE )
Please see attached sample file as well
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 41 | |
| 30 | |
| 26 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 111 | |
| 56 | |
| 39 | |
| 35 |