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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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