Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
BIanon
Helper V
Helper V

Query parameters greyed out in Power BI Service

Hello Community,

I am using query parameters in Power Query to be able to change what Google Big Query project/dataset I am fetching data from. This works great in desktop but when I publish to the service, the parameters are greyed out and cannot be edited. I haven't been able to find a fix / reason for this, I haven't experienced params being unavaible in service before.

Does anyone have an ideA?

2 ACCEPTED SOLUTIONS
BIanon
Helper V
Helper V

The issue was that the parameters was set to type: "Any". Switching them to "Text" fixed the issue.

View solution in original post

From the documentation:
"Grayed-out fields aren't editable. Any and Binary type parameters work in Power BI Desktop. The Power BI service doesn't currently support them for security reasons."
https://learn.microsoft.com/en-us/power-bi/connect-data/service-parameters

View solution in original post

6 REPLIES 6
arttuherva
Frequent Visitor

I am facing the same issue for a parameter of type "Any". Can also confirm that parameters of type "Text" work fine and are not grayed out for this same data set I have - they work and are not grayed out.

From the documentation:
"Grayed-out fields aren't editable. Any and Binary type parameters work in Power BI Desktop. The Power BI service doesn't currently support them for security reasons."
https://learn.microsoft.com/en-us/power-bi/connect-data/service-parameters

BIanon
Helper V
Helper V

The issue was that the parameters was set to type: "Any". Switching them to "Text" fixed the issue.

Thanks. This helped fix my issue too. Connecting to Databricks data source, so according to this, Databricks is not supported for Data source rules to switch the Schema names etc, so had to use parameters. The Parameter rules are not greyed out now after changing the parameter type from "Any" to "Text".

 

Create deployment rules for Fabric's ALM - Microsoft Fabric | Microsoft Learn

amitchandak
Super User
Super User

@BIanon , I am hoping you are talking about datasource setting in the power bi service. This means data source credential has some issue or you are also using local source that need gateway

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

No I am talking about the section beneath data source setting called "Parameters".
Why do you hope I am talking about datasource settings?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors