Skip to main content

Power BI

Under Review

Allow Parameters to be saved in Dataflows

Vote (120) Share
albert's profile image

albert on 25 Nov 2018 10:56:12

At the moment, parameters cannot be created and saved in dataflows. Parameters are automatically converted to a table when saving the dataflow.

Parameters are useful to easily change or update specific values in SQL queries.

Comments (8)
albert's profile image Profile Picture

3ff9b0ff 806d-4e71-9ad1-78cf3b2f6e0d on 06 Jul 2020 00:04:44

RE: Allow Parameters to be saved in Dataflows

A simple hack we use is to store our parameters in SharePoint excel/csv. Then load and filter as necessary. Would be nice to see this supported natively though.

albert's profile image Profile Picture

11179438 15b2-ea11-a81a-000d3a579c45 on 06 Jul 2020 00:04:14

RE: Allow Parameters to be saved in Dataflows

Suggestion:- Add parameters in to Data flow settings to allow you to edit them and not have to edit the json file before loading

albert's profile image Profile Picture

6397d81b 1605-4143-b851-14c90677d1d9 on 06 Jul 2020 00:02:30

RE: Allow Parameters to be saved in Dataflows

Yes they can (since November 2019) However ( unless i am wrong) they can't be used in a Query unless you have a Premium contract

albert's profile image Profile Picture

ac021393 69a4-4c33-ae62-aece6d8af026 on 05 Jul 2020 23:54:28

RE: Allow Parameters to be saved in Dataflows

We want to be able to allow the user to select the date range of data they want to have ingested through Data Flows otherwise the whole table gets pulled in, which can be a lot of records. Please ad a way to add a parameter to dataflows ASAP

albert's profile image Profile Picture

06382aed 1725-418e-9f53-f6cfa2eb2e35 on 05 Jul 2020 23:49:56

RE: Allow Parameters to be saved in Dataflows

The ability to "dynamicize" a Dataflow would be amazing. We do a lot of work connecting to multiple databases which share the exact same schema. Being able to define the dataflow as the source at run time would be amazing.

albert's profile image Profile Picture

d37e2711 5819-e611-80e2-c4346bad91c4 on 05 Jul 2020 23:39:20

RE: Allow Parameters to be saved in Dataflows

It looks as though putting "Parameters" in makes the dataflows Computed and thus they need a Premium Account which is too expensive. One of the main benefits that I use parameters for is to switch the SQL datasource from Development to Live. To have to go into each dataflow and make this change is laborious.

albert's profile image Profile Picture

40502e40 76ce-4f42-b63d-31ddf675aac9 on 05 Jul 2020 23:38:06

RE: Allow Parameters to be saved in Dataflows

Parameters can actually be saved in Dataflows, make sure to right click and uncheck Load in the online query editor. The UX will sure need to be improved though.

albert's profile image Profile Picture

e38e5a71 974a-4d1c-9bc9-42f9b677e506 on 05 Jul 2020 23:36:49

RE: Allow Parameters to be saved in Dataflows

Please! I will be handing over a Power BI solution to end users who don't know much about Power BI. They are ok with editing parameters in Service or even in the front end of Desktop. Training people to edit parameters in Dataflows is a big draw back as it risks them making a mistake with code as well.