Reply

How to migrate report that uses App Insights API in M query as a source across environments?

Hi,

 

I have created a report for Usage data of customer application, logs from App Insights are connected to powerbi using M query.

Is there a way to migrate this report from one environment to another, like change the source so that the data comes from QA right now it's DEV.

Screenshot 2024-03-26 194300.png

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi @sharmisaranga09 

You can consider to create a new paramater in power query. you can put your url in the paramater, then in M code , change the source to the paramater, you can refer to the following link.

https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters

 

Best Regards!

Yolo Zhu

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
v-xinruzhu-msft
Community Support
Community Support

Hi @sharmisaranga09 

You can consider to create a new paramater in power query. you can put your url in the paramater, then in M code , change the source to the paramater, you can refer to the following link.

https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters

 

Best Regards!

Yolo Zhu

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

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)