You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you copy a table from another model using TE/3, if there was a Query Group for the source model's partition but that query group doesn't exist in the current model, the model will not save. It returns an error that the Query Group doesn't exist.
Tabular Editor 3 Version
3.13
Screenshots
No response
Steps to Reproduce
Create a table in Power BI Desktop where you can create "Query Groups" to store the table you are going to copy
Copy that table using Tabular Editor 3
Paste it in a new model (service) and save the model. It won't save.
Expected behavior
I would expect it to just save with no Query Group, which isn't required. You cannot blank out the Query Group field. The only workaround I have is to hit the dropdown for the Query Group name, select something, save the model, then you can blank out the Query Group and save again.
Crash Report
No response
Windows Version
10
The text was updated successfully, but these errors were encountered:
Good find, that's definitely a bug! But it begs the question:
When copying a table/partition that is assigned to a query group that does not exist in the destination model should we:
a) Create the query group in the destination model?
b) Remove the query group assignment?
As for workarounds, you write:
You cannot blank out the Query Group field
Did you try right-clicking and choosing "Reset"?
If this doesn't work, an alternative workaround, is to temporarily paste into a text editor. Then, locate the JSON that specifies the query group of the partition and remove that line:
Then, copy the whole thing from the text editor, and paste into TE3 again.
I did not try the right-click and reset. Didn't think to, and that might work. I will try that.
As for what TE should do - create the query group or blank it out, it should blank it out. If it doesn't exist, I don't think we want arbitrary query groups from other models pasted in with the underlying table.
This will be more relevant when Shared Expressions are actually stored in query groups. {hint hint 😉}
Description
If you copy a table from another model using TE/3, if there was a Query Group for the source model's partition but that query group doesn't exist in the current model, the model will not save. It returns an error that the Query Group doesn't exist.
Tabular Editor 3 Version
3.13
Screenshots
No response
Steps to Reproduce
Expected behavior
I would expect it to just save with no Query Group, which isn't required. You cannot blank out the Query Group field. The only workaround I have is to hit the dropdown for the Query Group name, select something, save the model, then you can blank out the Query Group and save again.
Crash Report
No response
Windows Version
10
The text was updated successfully, but these errors were encountered: