nolockcz / PowerPlatform

Helper scripts for Microsoft Power Platform
19 stars 6 forks source link

"Other Queries" not accepted as query group #1

Closed FrankFromGermany closed 4 years ago

FrankFromGermany commented 4 years ago

I receive an error message when importing json file:

"Imported file does not have a json structure. ... 'pbi:mashup. ... .queryGroupId', line 1, ... ..."

Relevant json part: "FactInternetSales": { "queryName": "FactInternetSales", "queryGroupId": {}, "loadEnabled": true, "queryId": "43556f82-75c9-4e23-962f-123e552dac05" }

Probable cause: the query/queries are under group "Other Queries". Moving them to a new group "Test" solves this issue.

nolockcz commented 4 years ago

Thank you, Frank, for the reported bug. I was able to reproduce your scenario and I'm going to fix it this week.

nolockcz commented 4 years ago

The bug has been fixed. An annotation is ignored now if it doesn't contain any queryGroupId.