Refresh query when parameters update
See original GitHub issueCurrently when you change parameter values the query doesn’t update until you execute it again. This can be somewhat confusing, specially with dropdown parameters, where nothing happens after you pick a value.
The main reason for this was to avoid running a query before the user updated all the parameter values (in case there is more than one).
Some ideas for solutions:
- Execute the query when the parameter value is updated. Add some
debounce
(that resets when the user “touches” another parameter?) to let the user update other parameters before running the query. - Add some sort of “Apply” button next to the params, so it’s clear you need to click on it. Maybe even add some indication on it when the params are changed (like we do for the save button).
- Add a “Pause execution” toggle, that allows you to pause query refresh in case you want to update multiple parameters.
Any other ideas?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Auto refresh Power Query on parameter change
Auto refresh power query with a macro There are two ways for Excel to trigger events when cell values change: User Defined Function...
Read more >Query Parameter Refresh Issue - Microsoft Power BI Community
The issue is that, we are passing query parameters to our data source to get the filtered data, and also showing the parameter...
Read more >Update parameter in query and refresh report without doing it ...
I have a report with a parameter in the power query, and I need to change that parameter each time I update the...
Read more >Customize a parameter query - Microsoft Support
Click OK. To refresh the data, click the arrow next to Refresh All on the Data tab, in the Queries & Connections group,...
Read more >Database Does Not Update Query when Parameter Changes
In desktop you have to refresh the extract manually after changing the parameter, that is not happening automatically unless you use a live ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We had a discussion around this and we’ll modify it in the following way:
We’ll add an “Apply” button to each modified input field that needs to be clicked in order to re-execute the query.
@alisha17 usually we close issues that are already in master. If you’re asking if it will be addressed in the current version, then probably not. Current version is soon to be released. It will probably make the cut into the next one.