Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
| ID | Index |
| 101 | 100000 |
| 501 | 100001 |
| 701 | 100002 |
| 801 | 100003 |
| 901 | 100004 |
| 1001 | 100005 |
| 1101 | 100006 |
| 1201 | 100007 |
| 1301 | 100008 |
My normal code
| ID | Index |
| 101 | 1 |
| 501 | 2 |
| 701 | 3 |
| 801 | 4 |
| 901 | 5 |
| 1001 | 6 |
| 1101 | 7 |
| 1201 | 8 |
| 1301 | 9 |
I would like to keep the same idea but is there a function like Start on(100000) and the index counts from the specific number.
Solved! Go to Solution.
Hi @user35131
Thanks for reaching out to us.
>> My normal code ADDCOLUMNS(ID,"Index" ,RANKX(ID,[ID],,ASC,Dense))
Actually you are very close to the correct answer.
You can try this DAX expression,
t1 = ADDCOLUMNS('Table',"Index" ,RANKX('Table',[ID],,ASC,Dense),"test",100000+RANKX('Table',[ID],,ASC,Dense))
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @user35131
Thanks for reaching out to us.
>> My normal code ADDCOLUMNS(ID,"Index" ,RANKX(ID,[ID],,ASC,Dense))
Actually you are very close to the correct answer.
You can try this DAX expression,
t1 = ADDCOLUMNS('Table',"Index" ,RANKX('Table',[ID],,ASC,Dense),"test",100000+RANKX('Table',[ID],,ASC,Dense))
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @user35131 , 2 options:
DAX: add +99999 at the end of your code
Power Query: Add an Index Column - there is an option to start at custom number:
If this answer solves your problem please mark it as a solution!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 82 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |