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

Interactive Forecasting in Power BI: User Input, Python Model, and Dynamic Visualization

Hello all,

 

I'm seeking guidance on implementing an interactive forecasting feature in Power BI Service (browser version). Here's what I'm trying to achieve:

 

  1. User Input: Allow business users to input a value for a specific field directly in the Power BI Service interface.
  2. Python Integration: Use this input as a variable in a custom Python forecasting model.
  3. Dynamic Visualization: Display the forecasting results back in the Power BI report, updating visualizations based on the user's input.

 

Specific Requirements:

  • Time series data forecasting using a custom Python model
  • Users should be able to select a field (corresponding to a model feature) and input a proposed value for a specific date
  • The Python model should use this input to generate predictions
  • Predictions should be plotted alongside actual data in Power BI

 

Key Questions:

  1. Is this possible to implement entirely within Power BI?
  2. What's the most efficient way to handle user input in Power BI Service?
  3. How can I integrate Python execution with user inputs in real-time?
  4. What's the best method to update visualizations dynamically based on Python output?

 

I'm open to exploring Power Apps, Power Automate, or any other Microsoft Power Platform tools if they can help achieve this functionality.

 

I would greatly appreciate any insights, suggestions, or alternative approaches. Please let me know if you need any additional information about my project.

 

Thank you in advance for your help!

1 REPLY 1
lbendlin
Super User
Super User

1. Heck no

2. There are a couple of shady (at best) third party visuals that allow you to collect user input and write back into the data source (via their own servers, shudder)

3. Python visuals can react to dataframe changes, but be reminded that they need to render something at the end of the processing

4. not sure what you mean by that - please elaborate.

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 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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