Skip to main content

Power BI

New

Allow use of query to set Parameter Current Value

Vote (13) Share
JimN's profile image

JimN on 13 Nov 2016 13:17:19

Under Manage Parameter, when i use Suggested Values as Query, I would like to set the Current Value to the first item in the query result as the default value when i first open the report.

Example: if my query result is a list of dates, i would like to set the latest date as default

Comments (4)
JimN's profile image Profile Picture

5b67980e 8f8e-4ec5-9149-6742bb467e6c on 06 Jul 2020 00:13:04

RE: Allow use of query to set Parameter Current Value

Totally agreed that this is needed very badly. Even it's called parameter, we still need to go to the Power Query to change the default value each month to extract correct data. It's not very convenient.

JimN's profile image Profile Picture

74153b62 9348-4d21-bc29-66c242beb76d on 06 Jul 2020 00:07:46

RE: Allow use of query to set Parameter Current Value

I need to set the current value for a database parameter dynamically so that the Power BI report embedded in our web app connects to a different database depending on the client selected.

JimN's profile image Profile Picture

caaca5e8 0656-46da-8bd1-71f412771627 on 05 Jul 2020 23:14:19

RE: Allow use of query to set Parameter Current Value

This is needed so badly. This is a totally standard report setting that isn't solved with relative date filtering or bookmarks.

JimN's profile image Profile Picture

9ed9d613 0724-4b47-afbe-9bba4d91b287 on 05 Jul 2020 22:35:16

RE: Allow use of query to set Parameter Current Value

I want to add default current date as current value of Parameter under manage parameter in Power BI with help of query result. Can you please suggests as it is very important to me. I want my power BI to show EndDate as Current Date value automatically.