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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone.
Im creating a calculated table:

I want to order my table by oldest date to newest date. Actually is not ordered correctly as you can see in the next image:

Then, i want to add id column.
Ty vry much, i hope someone can help me.
@Anonymous , You can create a rank, not need to order the table
rankx(filter(Table, Table[month] = earlier(Table[Month]) ) , [Date],,asc, dense)
The Table parameter in the filter function has to be my calendar table?
Because i was trying to use the calculated table that im creating but i was not able to do that.
Ty vry 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 |
|---|---|
| 9 | |
| 9 | |
| 6 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |