Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a query which I've insterted a List (converted to CSV) into. When I update the M-Query, i get an alert: Permission is required to run this native database query (which is expected). When I choose the [Edit Permission] button I can see that my M-Query has produced valid SQL that runs in SSMS, however, when I click [Run], the query closes but the alert never goes away. I'm not able to make this query run since the permission thing never goes away.
The CSV params are insterted like this:
Declare @CompanyEntityIdList varchar(MAX) = '" & Text.Combine(CompanyEntityId_Text, ",") & "' -- FAILS
This works (I'm able to update the query permission):
@CompanyEntityIdList varchar(MAX) = '"& Text.Combine({"1","2","18011"}, ",") &"'
There's something about referencing the Power BI List (CompanyEntityId_Text) that causes the query to not be able have permissions granted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.