cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jpayne Regular Visitor
Regular Visitor

Data Flows - Not able to create parameters

In Data Flows, i am trying to create some queries that need parameters. The parameters do not appear as parameters, but keep getting converted to tables. 

 

My parameters and queroes work in PBIX in M, but not it the data flows.

6 REPLIES 6
Super User
Super User

Re: Data Flows - Not able to create parameters

Hi there

You can do this by going into the Advanced Editor in your PBIX, then copy the code.

Then go into the dataflow, click on Blank Query.
Then click on Advanced Options and paste the details in there.

Make sure to remove the tick for "Enable Data Load" otherwise it will ask for a Power BI Premium license.

Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Power BI Blog
jpayne Regular Visitor
Regular Visitor

Re: Data Flows - Not able to create parameters

What you suggested is what I did...

 

It does not work with APIs that work in PBIX.

 

DataFlows has a lot of issues as of yet since they have not ported over all the functionality from PBI Desktop Query Editor.

 

There are issues with API protocols in both PBIS and Data Flows. I have lots of queries that use APIs (Web.Content) that do not work in PBIS or Data Flows for various reasons. 

 

Super User
Super User

Re: Data Flows - Not able to create parameters

Hi there

yes in some instances everything is not 100% the same as Power BI Desktop. I do know that the team is working very hard to get it 100% the same as Power BI Desktop

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

Re: Data Flows - Not able to create parameters

Hi @GilbertQ 

 

What does mean "create a Data Flows if it is not updatable"?

So How can we use these Data Flows, please ?

 

Thank you for your reply

Super User
Super User

Re: Data Flows - Not able to create parameters

Hi there

What I mean was that the parameters are not updatable, but the dataflow will update with the related data.

Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Power BI Blog
rrmistry Occasional Visitor
Occasional Visitor

Re: Data Flows - Not able to create parameters - Hack

Hi @jpayne ,

A simple hack we use is to put our parameters into a SharePoint excel/csv. Then load and filter as necessary.

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)