Sub topic 2
Creating a Power BI Report Page from a Prompt
Assume you can navigate Power BI, understand a star-schema semantic model, and write basic DAX measures. Copilot uses your model's tables, fields, relationships, and existing measures to draft report content. It does not replace model design or validation.
Creating a report page
Open a report in Power BI and select Copilot. Describe the business purpose, measures, dimensions, time range, and requested visuals. Specific prompts produce more useful first drafts.
Create a page that shows sales performance by product category and region for the last 12 months. Include total sales, a monthly sales trend, sales by category, and a slicer for region.Copilot may create a page with visuals and a slicer. Review each visual's fields, aggregation, filters, and title. A similar field name can produce a plausible but incorrect result.
Refining the generated page
Use follow-up prompts for focused changes:
Add a card for sales year-over-year percentage. Sort the category chart from highest to lowest sales. Move the region slicer to the top.Then make manual edits for exact formatting, interactions, accessibility, and layout. Copilot can misunderstand terms such as “growth,” “active customer,” or “last year” when the model lacks clear measures or date relationships.
> callout note > Treat a generated page as a draft. Confirm that every visual uses the intended measure, date field, relationship, and filter context.
Summarizing and asking questions
Copilot can summarize report findings and answer questions grounded in the report. Ask questions with defined measures and scope:
Which product category had the largest sales increase in the last 12 months, and which region contributed most?Check the answer against the underlying visual. A summary can describe patterns without proving causation, and it may reflect only the current page filters.
Generating DAX measures
State the business definition and edge case. For example:
Total Sales = SUM ( Sales[SalesAmount] )
Average Order Value =
DIVIDE ( [Total Sales], DISTINCTCOUNT ( Sales[OrderID] ) )DIVIDE returns a blank when the denominator is zero. Before adding generated DAX, check table and column names, filter context, and whether the date table is correctly related.
Exercise
Why should you validate a Copilot-generated sales measure?
Show answer
Confirm that it references the intended fields, handles edge cases, and returns known totals under the report's filters.