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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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