Tabular model calculation item Ordinal property not changing

Syed Shah 0 Reputation points
2023-04-09T22:45:32.19+00:00

I am using Visual studio 2019 and SSDT to develop a tabular model. I have created calculated groups and calculated items. I have also created an Ordinal column to sort the calculated items by a certain order When I set the Ordinal property of a calculation item, i get an error that the ordinal value must be zero or greater but its not accepting any value 0, 1, 2, 3 or anything. When I do the same in Tabular editor, it seems to work fine. Is there some bug with Visual Studio SSDT to edit the ordinal or calculated items?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
436 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,242 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 14,806 Reputation points
    2023-08-18T08:22:18.51+00:00

    Since you didn't provide more information, I am assuming the following :

    First, ensure that Visual Studio, SSDT, and any relevant extensions or plugins are fully up-to-date. Sometimes, issues like this are addressed in minor updates or patches.

    Since you've mentioned that Tabular Editor works fine, you may want to use it as a temporary workaround for managing the Ordinal property of your calculated items.

    Sometimes, errors like this can be misleading. Double-check that the syntax and constraints surrounding the calculated items and the Ordinal property are correctly set up or try recreating the calculated items from scratch to see if the issue persists. There may be an underlying corruption or misconfiguration that's causing the issue.

    0 comments No comments