Hello...
I'm attempting to add a column to an existing tabular model table (1500 level) via SSMS, XMLA Query using the following JSON command(s), neither of which work:
{
"create": {
"parentObject": {
"database": "GeneralAccounting",
"table": "CustomDepartmentGrouping"
},
"column": {
"name": "Company 1 Utilization",
"dataType": "string",
"sourceColumn": "Company 1 Utilization"
}
}
}
{
"create": {
"parentObject": {
"database": "GeneralAccounting",
"table": "CustomDepartmentGrouping"
},
"columns": {
"type": "data"
"name": "Company 1 Utilization",
"dataType": "string",
"sourceColumn": "Company 1 Utilization"
}
}
}
Both of these are variations of a sample found in the microsoft documentation here: https://learn.microsoft.com/en-us/analysis-services/tmsl/create-command-tmsl?view=asallproducts-allversions
Whenever I attempt to execute either of the above, I receive the following error(s):
- "The JSON DDL request failed with the following error: Unrecognized JSON property: column. Check path 'create.column'...
- "The JSON DDL request failed with the following error: Unrecognized JSON property: columns. Check path 'create.columns'...
I found a no-response post from StackOverflow along the same lines. I also attempted to use BISM Normalizer to generate an update script, only to realize that it uses a full createOrReplace on the database.
Any help on understanding what might be wrong with my JSON would be very much appreciated.
Thanks!