Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Dp7
New Member

Sort Order: How to utilize the Ordinal column for Calculation Groups

Dp7_1-1729113073530.png

 

Hello, I am working with Calculation Groups and would like to specify their sort order:
I am trying to work with the "Ordinal" column that is automatically created when a new Calculation Group is created. 
As I add new Measures to this group, their values of this Ordinal column default to -1 like so. 


Dp7_2-1729113233049.png


I'm unable to update the values of the table, and under Properties on any of the measures, there is nowhere to set the Ordinality that I can find.

Dp7_3-1729113326407.png

Couldn't find anything in the current documentation.  Appreciate the assist! 
Version: 2.136.1202.0 64-bit (September 2024)

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @Dp7 

As you've observed, in a newly created calculation group, the Ordinal property is set to -1 by default for each calculation item created.

You can change the ordering of calculation items (which has the effect of changing the Ordinal values) by either:

1. Select the Calculation Items folder in the Model view, and drag/drop the calculation items in the properties pane:

OwenAuger_1-1729116070338.png

 

2. Right-clicking a specific calculation item > Move > Up/Down/To top/To bottom:

 

OwenAuger_0-1729115905577.png

Once the calculation items have been reordered at least once, they should be assigned Ordinal values 0, 1, 2,...

 

In Tabular Editor, you can directly edit the Ordinal property of each calculation item.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

2 REPLIES 2
Dp7
New Member

@OwenAuger 
Brilliant, the Move option worked just as pictured.
Thank you for the great explanation and for even recreating my scenario in your screenshots! 

OwenAuger
Super User
Super User

Hi @Dp7 

As you've observed, in a newly created calculation group, the Ordinal property is set to -1 by default for each calculation item created.

You can change the ordering of calculation items (which has the effect of changing the Ordinal values) by either:

1. Select the Calculation Items folder in the Model view, and drag/drop the calculation items in the properties pane:

OwenAuger_1-1729116070338.png

 

2. Right-clicking a specific calculation item > Move > Up/Down/To top/To bottom:

 

OwenAuger_0-1729115905577.png

Once the calculation items have been reordered at least once, they should be assigned Ordinal values 0, 1, 2,...

 

In Tabular Editor, you can directly edit the Ordinal property of each calculation item.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors