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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Anonymous
Not applicable

Connect What-If parameters to a REST API

Hi, 

 

I have deployed an Azure ML model on a REST API that I would like to connect to several What-If parameters to allow user inputs to be reflected in real-time on the Power BI dashboard.

 

Currently, I am able to make it work by running the REST API in Python scrips in individual visualizations, but the performance is bad since it requires initializations and replication of scripts/functions for each visualization. It is also difficult to edit and maintain each individual viz. 

 

I had also tried to solve via pre-processing by computing output for all combinations of What-If parameters, but I have several (10+) parameters and precomputing the full range would generate more data than it is feasible. 

 

Is there a less hacky way to do this, e.g integrate what-if parameters via the data pipelines? 

 

Any help or direction would be appreciated!

 

 

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Maybe you can refer to this:

Pass parameters dynamically from Power BI to REST API 

 

Best regards,
Lionel Chen

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 Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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