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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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