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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.