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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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