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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Mater
Frequent Visitor

Paramatising a Direct Query Semantic Model Data Source

Does anyone know how i can paramatise the semantic model i am using as my data source (via direct query) ?

I have a DEV and PROD version of the semantic model i am using as my data source for my report.  These semantic models are in different Power BI workspaces.  I am trying to paramatise the semantic model data source, so when i use my deployment pipeline to deploy my report from DEV to PROD, that it will change from the datasource from the semantic model in DEV to the semantic model in PROD.

 

Appreciate any guidance

thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Mater ,

 

There are real limitations to using parameters with the semantic model directly in Power BI Desktop, especially if the connection is not in DirectQuery mode. parameters in Power BI are primarily used to process queries that can be modified directly in Power BI Desktop, which is why you may find that the "Parameters" button is disabled when you are connecting to a semantic model in a way that does not allow local query modifications. This is why when connecting to a semantic model in a way that does not allow local query modification, you may find that the Parameters button is disabled.

 

Refer to below document:

Semantic models in the Power BI service - Power BI | Microsoft Learn

Introduction to semantic models across workspaces - Power BI | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Mater ,

 

There are real limitations to using parameters with the semantic model directly in Power BI Desktop, especially if the connection is not in DirectQuery mode. parameters in Power BI are primarily used to process queries that can be modified directly in Power BI Desktop, which is why you may find that the "Parameters" button is disabled when you are connecting to a semantic model in a way that does not allow local query modifications. This is why when connecting to a semantic model in a way that does not allow local query modification, you may find that the Parameters button is disabled.

 

Refer to below document:

Semantic models in the Power BI service - Power BI | Microsoft Learn

Introduction to semantic models across workspaces - Power BI | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.