MyMisPal
← Practical AI lessons
Lesson 10 of 11

AI in business intelligence and Excel

In the BI track you built dashboards that answer “what happened?”. AI adds two questions: “why did it happen?” and “what will happen?”, and lets you ask in plain language instead of building every chart by hand.

FeatureWhat it doesWatch out
Copilot in Power BISummarises a report, suggests visuals, writes and explains DAX measures, and answers questions about the data.Needs Microsoft Fabric capacity (F2 or higher) and an admin setting. Review any DAX it writes.
Forecast on line chartsAdd a forecast for the coming periods with a confidence band from the Analytics pane.Assumes past patterns continue.
Anomaly detectionMarks unusual points in a time chart and suggests possible causes.Unusual isn't always wrong: year-end promotions, say.
Key influencers and Decomposition treeAI visuals that show what drives a metric most and break it down step by step.Influence isn't causation.
Excel Forecast SheetFrom the Data tab pick a date column and a values column, and get a forecast and chart. FORECAST.ETS powers it.Needs regular dates without big gaps.
Watch outMicrosoft is fully retiring the old Q&A feature in Power BI in December 2026, with Copilot as the replacement. If you see an older tutorial on Q&A, its place is now taken by Copilot.

Prepare your data for AI. Copilot understands your model from table and column names. A column called amt_x2 means nothing to anyone, human or machine; Sales Amount (SAR) is clear. Give tables and measures clear names and descriptions, hide technical columns, and set relationships correctly. It's the same good design you learned with ERDs.

The simplest forecast you can build yourself is a moving average: next month = the average of the last 3 months. Simple, yet sometimes it beats complex models, and it makes a good baseline to compare any model against.

PYTHON
sales = [120, 128, 135, 131, 142, 150]
window = 3
last = sales[-window:]
forecast = sum(last) / window
print("Last", window, "months:", last)
print("Forecast:", round(forecast, 1))

Exercises

Exercise 1 · Calculation

Sales for the last 3 months: 120, 135, 150. What is next month's moving-average forecast?

Exercise 2 · Multiple choice

Copilot wrote you a DAX measure for year-over-year sales growth. What do you do before putting it in the management report?

Exercise 3 · Multiple choice

Which column name helps Copilot understand your data best?

Exercise 4 · Python · graded by running

Forecast next week with a moving average of the last 4 weeks, and print it rounded to one decimal.

Spotted a mistake on this page, or have an idea to improve the site?