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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
I_NeedMorePower
Helper III
Helper III

What is The Best Practice for Developing a Report That Can Be used for Different OData URLs?

Greetings dears!

I'm planning to develop a report that can work for different environments.

My data source is D365 FO and I want to know what is the best practice to deploy a Power BI report for different D365 environemnts in the easiest way (or best practice wise) possible.

The data model is the same everywhere but I want to build a report that I can change the Odata URL easily.

How can I achieve that?

Any advice is appreciated!

Thanks in advance !

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

Best practice would be to store the URL (or the part that changes) in a parameter and use that in the query. That way you can then save your file as a pbit and share it w/o any data (and the user would be prompted to enter the parameter value when they open it).

Parameters - Power Query | Microsoft Learn

 

Pat

Microsoft Employee

View solution in original post

4 REPLIES 4
ppm1
Solution Sage
Solution Sage

Best practice would be to store the URL (or the part that changes) in a parameter and use that in the query. That way you can then save your file as a pbit and share it w/o any data (and the user would be prompted to enter the parameter value when they open it).

Parameters - Power Query | Microsoft Learn

 

Pat

Microsoft Employee

Hi ppm1,

I just tested what you suggested and it works as per what I needed !

 

Thank you for your help!!! 🙂

lbendlin
Super User
Super User

Is this an "embedded - app owns data" scenario?  Have you considered service parameters?  You'll run into all sorts of formula firewall issues.

Hi lbendlin,

Thanks for your reply !

I want to embed it in D365 FO. and I want the report to be deployed in multiple D365 FO.

So this is why I want to build a power bi report that can be used in multiple enviornments and deploying the power bi should have no changes if possible.

But after some search it seems I was wrong and I can't use an OData to achive this requirement if I want to embed it in D365 FO Analytics workspaces.

I'm still reading and trying to learn how to do it for D365 FO.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.