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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.