Power Apps and Power BI integration: let managers update forecasts inside your dashboard

Power BI shows the numbers, but it cannot save what users type. This case study shows how I let department managers enter their own forecast inside a Power BI dashboard, using Power Apps and Dataverse, and see it in the report straight away.

Try the dashboard

I rebuilt the prototype here in HTML so you can try the idea. Choose a department, click an account to drill through to its transactions, then enter a forecast and submit it. The real version runs in Power BI, with the form built in Power Apps. It uses sample data, not client data.

Department manager dashboardAnalytics dashboard ยท Sample data
Row-level security shows each manager only their own department.

Budget and current forecast by account

Approved budgetCurrent full-year forecast

Year-to-date actuals, budget and forecast

Click an account to drill through to its transactions. The form below it fills in for that account.

Transactions

Enter your forecast

An interactive HTML version of the prototype, using made-up sample data. It is not the Power BI report. In the real build the form is a Power Apps app that saves to Dataverse. Nothing you enter here is saved.

Illustrative sample dashboard built in HTML. Sample data, not client data.

Case study: forecast entry inside a Power BI dashboard

The challenge

A common request from finance teams is that each department manager sees their own year-to-date actuals from the accounting system, compares them with the approved budget, and gives a full-year forecast at the end of each quarter. Finance then has to consolidate every forecast against the budget.

Managers rarely want to edit a shared spreadsheet, and Power BI has no built-in way to write data back. The question is how to let them type a forecast without leaving the dashboard.

The solution

To show the technique, I built a prototype on sample data. It splits the work into two data flows that meet in one Power BI model.

Actuals flow

QuickBooks Online sends raw transactions through Coupler.io into the Power BI data model. The data is transformed once in Power Query, and every refresh after that follows the same steps.

Forecast flow

A Power Apps form, embedded in the report, saves each quarterly forecast to a Dataverse table. Power BI reads that same table, so the dashboard shows the entry.

PieceToolIts job
Accounting dataQuickBooks OnlineSource of the transactions, with the department (a QuickBooks class) on each line
Data pipelineCoupler.ioExports the raw transactions to Power BI on a schedule
Forecast entryPower AppsA simple form for the quarterly forecast
Forecast storageDataverseA secure cloud table that the app writes to and Power BI reads
ReportingPower BIBudget, actuals, forecast, drill-through and row-level security

How Power Apps and Power BI work together

The two tools share one table. Power BI is the reading side and Power Apps is the writing side.

How a manager uses it

  1. Open the dashboard. The manager signs in and sees only their own department.
  2. Drill through. Clicking an account opens the individual transactions that make up its year-to-date amount.
  3. Enter the forecast. In the embedded form, the manager types the quarterly forecast for an account and clicks Submit.
  4. See it in the report. The value is saved to Dataverse, and the dashboard shows it when the report reloads.
  5. Finance consolidates. The finance team sees every department's forecast against the budget in one view.

What the prototype shows

How I overcame the challenges

ChallengeHow I overcame it
Power BI cannot write data backAdded a Power Apps form inside the report and saved entries to a Dataverse table that the report reads.
Drill-through showed accounts that were not the manager'sLinked transactions, budget and forecast through one shared account table, adjusted the filter direction on that relationship, and checked each manager's view with row-level security.
The Dataverse table failed to load in the app because of a choice columnRebuilt the table with a plain text column for the quarter.
Saving could create duplicate rowsUsed one row per account, with Q1 to Q4 columns, so saving updates a single row. Power Query reshapes it into one row per quarter for the report.
A saved forecast took too long to showRead the forecast table with DirectQuery, so it appears when the report reloads. The other tables stay on scheduled refresh.
Online refresh failed on credentialsMapped each data source to a working connection in the dataset settings, and tested a refresh before building more.
Seeing and editing are different permissionsUsed row-level security in Power BI for what managers see, and planned Dataverse security roles for what they can edit.

Frequently asked questions

Can Power BI save data that users type in?

Not on its own. Power BI reports are read-only. To let people enter values, you add an app built with Power Apps that writes to a table (here, Dataverse), and the report reads that same table.

Do the managers have to edit an Excel file?

No. They use a simple form inside the dashboard. Nobody opens a spreadsheet, so there are no copies to merge and no formulas to break.

How quickly does a saved forecast show up in the report?

It depends on how the report reads the table. With DirectQuery on the forecast table, the new value appears when the report is reloaded. Tables loaded with Import update when the dataset refreshes, which can be scheduled.

Does each manager see only their own department?

Yes, on two levels. Row-level security in Power BI limits what each manager sees in the report. Security roles in Dataverse limit what each manager can change in the forecast table.

What licences does this need?

Power BI needs a licence to share reports online, and Power Apps with Dataverse is a premium feature, so each person who uses the app needs a suitable licence. Microsoft changes its licensing, so check the current terms before you commit.

Want managers to update data inside your dashboards?

Tell me what your team needs to enter and where the data comes from, and I will suggest a plan.

Email:kaleem.mian@datascientist.ca

About the author

I am Kaleem Mian, a business intelligence consultant based in Toronto with more than 20 years of experience across healthcare, insurance, manufacturing, financial services and pharmacy. I work with Power BI, DAX and SQL Server, and I train professionals in person by building real reports with them. I run Smart Data Learners, a YouTube channel of Power BI and data analytics tutorials. You can find more articles on the datascientist.ca blog.