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
sqlguru448
Helper III
Helper III

Issue with Composite model in Power BI

Hello Folks,

I have created a report using composite model with 2 different data sources, one coming out of Azure Analysis services with Live connection and other with SQL server as direct query. 

I have in built measures within Power BI report and the report works fine perfectly, but if I change the envoriment of these sources from DEV to PRODUCTION then all the measures which are built within Power BI report have disappeared. Is this expected? or is this a bug in the new feauture? 

 

Is there a simple workaround to fix it instead of re-writing all the measures again?

 

Thank you

3 REPLIES 3
sqlguru448
Helper III
Helper III

Any inputs?

amitchandak
Super User
Super User

@sqlguru448 , You have done using edit connections? or you have done change in power query, or you have created power query parameter and changing using that?

 

First, change back to dev and check do you get all measures back.

 

Try to use this method from guyinacube for connections change -https://www.youtube.com/watch?v=XIq5vN5oPf8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I am trying to change it via "Data source settings", the issue is in Azure Analysis Service connection. Whenever I change it from Dev to Production the measures disappear.

 

If I change back from Production to Dev, the measures are still lost.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.