cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mixta Frequent Visitor
Frequent Visitor

dataflows and functions

Hi, 

I am attempting migrate some of my PBI Desktop queries to Dataflows in the BI Service.

 

Some of these queries referenccredentials.pnge a function, The function accepts an argument of a URL - this URL is then used to extract all the items in a particular list on that project site.  However when the function is referenced in the query it is asking for credentials.  When I attempt to enter credentials via an organisational account the option to sign is is greyed out even though the dialog suggests I am not signed in.  Any ideas?

 

 

 

 

 

 

 

Function code:

let
LoadList = (site as text) =>
let 
Source = OData.Feed(site&"/_api/lists/getbytitle('Risks')/items")
in
Source
in
LoadList

 

Many thanks

Mick

 

 

 

8 REPLIES 8
Super User
Super User

Re: dataflows and functions

Hi there,

What happens if you try and another authentication kind?
Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
mixta Frequent Visitor
Frequent Visitor

Re: dataflows and functions

Similar behaviour for Anonymous and Basic credential types - still comes back with Edit Credentials message.

PhilC Frequent Visitor
Frequent Visitor

Re: dataflows and functions

Check for blocked popups.  This was happening to me and then I saw the popup.

Super User
Super User

Re: dataflows and functions

That is a great tip @PhilC

Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
mixta Frequent Visitor
Frequent Visitor

Re: dataflows and functions

Thank you for the tip but I can confirm that there are no pop-ups being blocked.  I can connect to the same data source in another connection but it appears that Dataflow features cannot currently cope with this type of function.  The step on which the error occurs is when attempting to connect to a SharePoint API to return items from a list but there is no source to assign credentials in the function - however this works in Power BI Desktop.

Super User
Super User

Re: dataflows and functions

Hi there

In the actual editing of the entity in the dataflow have you clicked on Options to see if you can configure the settings there?
Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
mixta Frequent Visitor
Frequent Visitor

Re: dataflows and functions

Yes I have but no luck there. I have deselected the enable loading option but still no luck.
Cheers
Mick
Highlighted
Super User
Super User

Re: dataflows and functions

Hi there

Does the data source use a Organizational or Basic authentication?
Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"