Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
In this post, I'll walk you through how I pushed the Narratives visual beyond the traditional uses and into the unconventional frontier. I use it to parse, adapt, document, model, explain, infer and code. From common data engineering and analyst tasks to far-reaching edge cases, Narratives became an unexpected AI-powered ally with results displayed in a Power BI report.
A straightforward request comes your way – prepare some data for reporting and analysis.
You encounter a classic data hurdle – transform complex, nested source data into a clean, documented, and analysis-ready model – with minimal prior knowledge of the dataset's structure.
I set my bar high and went to work.
Objective: Display messy, unparsed data as a clean table with user-friendly column headers in a report visual with ZERO transformations or modeling.
Turn cringe-worthy data that most would prefer not to see, into reusable components that will evoke double-takes with minimal effort.
I used Power BI's Narrative visual to interpret the data structure. With a bit of creative prompting the visual returned:
This was all it took for the ideas started rushing in.
The purpose of the Power BI Narrative is to generate insights automatically for business users. The Copilot Narrative is an AI-powered feature that automatically generates dynamic, context-aware summaries of data insights within a report.
The Smart Narrative visual in Power BI is built on three key layers:
There is also a Custom option, which leverages Microsoft Cognitive Services. However, for most use cases, and the examples in this post, Copilot is the recommended choice because it is deeply integrated and optimized for Power BI.
I have three different large, unparsed, nested JSON values, which I imported to the model as text, so a variety of scenarios can be covered: product revenue summaries, sales data and insurance plan benefits. All three datasets are comprised of fake data that I had Copilot generate (aka synthesize) for me.
This is the basic framework for what to enter into the Copilot Narrative visual - I'll elaborate on this with variations in another post:
Task Overview:
A high-level description of the objective.
Output Structure:
1. A few words identifying the section's contents
- Title → description of desired output
- ...
(Repeat as needed.)
Notes:
- Specific appearance requirement
- ...
Analyze unparsed data and create a blueprint for a semantic model includingfact tables,dimension tables,identification of primary keys, foreign keys and relationships,recommended measures, and code block to create the model.
| Prompt | Result |
|
|
Let the model choose the best flattening strategy for the data (dot paths, explode arrays, pivot keys, etc.). Flatten the structure into one row per key, keeping key-level fields as columns. Explain the logic and other strategies considered. Let the model rename columns using a best guess.
| Prompt | Result |
|
|
Normalize and harmonize nested JSON data by standardizing date formats to ISO 8601 and aligning currency exchange rates under a unified USD base. Address structural inconsistencies, identify missing transactional values, and provide recommendations to improve data quality and enable accurate aggregation.
| Prompt | Result |
|
|
Profile the data. Evaluate and explain data completeness, uniqueness, drift and type inference
| Prompt | Result |
|
|
Evaluate the performance impact of loading X MB of data into the current structure.
| Prompt | Result |
|
|
Embedding Narratives in your Power BI report during the data preparation phase isn't just a technical exercise - it's a strategic tool for improving collaboration, confidence in data products and decision-making across all roles.
Pinpoint Where Data Cleansing Efforts Should Focus
Narratives highlight inconsistencies, missing values, or schema issues uncovered during prep. This visibility ensures engineering resources are directed toward the areas that will have the greatest impact on downstream analytics.
By leverage Narratives throughout the data prep process, directly in a Power BI report, you turn your data prep process into a data exploration and documentation engine, and collaborative checkpoint - making it easier to validate assumptions, align with business rules, and avoid costly rework later in the pipeline.
Narratives are more than just storytelling tools - they are also a catalyst for intelligent automation. By thinking creatively, we can unlock new use cases that streamline data workflows and empower analysts to focus on what matters most: delivering insights.
If you're working with complex or messy data, consider using Narratives to do some of the heavy lifting. You might be surprised how much value they can add-outside the box.
Next Post Coming Soon
Power BI Narrative Prompt Frameworks and Ingredients - Powerful Tips and Tricks
Have you tried using Narratives in unconventional ways? I'd love to hear how you're pushing the boundaries of Power BI!
jennratten | Microsoft Fabric Community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.