๐ฏ What You'll Learn
- Apply AI Insights (Image Tagging, Sentiment Analysis) directly inside Power Query
- Build a real-time streaming dashboard that updates every second
- Use DAX's
PATH()function to flatten parent-child hierarchies - Activate the Analytics Pane to forecast future sales using built-in AI
- Combine Table, Text, and Image data into a unified "360 View" Product Catalog
๐ Before You Begin
- Completed Part 1 and Part 2 โ you are comfortable with Power Query and connectors
- Power BI Premium Per User or Fabric trial (required for AI Insights and Vector/Semantic features)
- Microsoft Fabric trial account recommended for Exercises 3 and 4
- Basic familiarity with what "machine learning" and "embeddings" mean (conceptually)
๐งฌ The 6 Advanced Data Types in Power BI
Part 3 introduces data types that go well beyond simple tables. Each type unlocks a different analytical dimension.
Unstructured (Images)
Raw image files processed by AI Vision to extract text and object tags
Text / Sentiment
Customer reviews scored 0โ1 for positive/negative sentiment using NLP
Streaming
Live sensor or API feeds that push rows into a dashboard in real-time
Graph / Relational
Network data: nodes and edges representing people, links, or dependencies
Hierarchy
Parent-child structures like org charts, flattened using DAX PATH()
Vector / Semantic
Text converted to numerical embeddings for semantic similarity search
๐๏ธ 10 Advanced Exercises
Path = PATH(Employees[EmployeeID], Employees[ManagerID]). This flattens the entire hierarchy into a pipe-delimited string.Product ID column as the key. This is a star schema.๐ Key Term Flashcards
Click the card to reveal the definition. Use the arrows to navigate.
Embedding
Click to reveal definition
A numerical representation of text (e.g., 1,536 numbers) that captures meaning. Similar concepts end up "close" together in vector space, enabling semantic search.
๐บ๏ธ Exercise 10: Building the 360 View (Step-by-Step)
This is the capstone exercise of the entire series. Follow these steps exactly.
Prepare Your Three Data Sources
Create: (a) Sales.csv with ProductID, SalesAmount columns. (b) Reviews.xlsx with ProductID, ReviewText. (c) A Photos folder with images named by ProductID (e.g., "P001.jpg").
Load All Three into Power BI
Use Get Data โ Text/CSV for Sales, Get Data โ Excel for Reviews, and Get Data โ Folder for Photos. You should now have three separate tables in the Fields pane.
Run Sentiment Analysis on Reviews
In Power Query โ select the Reviews table โ AI Insights โ Text Analytics โ Score Sentiment. This adds a "Sentiment Score" column (0โ1).
Build the Star Schema in Model View
Switch to Model View. Drag ProductID from Sales to ProductID in Reviews. Drag ProductID from Sales to the Name column in Photos. You now have a 3-table star.
Build the Report Page
Add a Product Slicer (from Sales[ProductID]). Add a Bar Chart (Sales by Product). Add a Card showing Sentiment Score. Add an Image visual pointing to the Photo URL column.
Test Cross-Filtering
Click a product in the Slicer. All three visuals should update simultaneously โ the sales bar highlights, the sentiment score changes, and the photo switches. That is your 360 View.
๐ง Practice Quiz
Q1. The AI Insights โ Score Sentiment feature returns a number between 0 and 1. What does a score of 0.05 mean?
Q2. Which DAX function is used to flatten a parent-child org chart hierarchy into a pipe-delimited path string?
Q3. In Exercise 9, where exactly do you find the Forecasting option to add a prediction line to a Line Chart?
Q4. In the 360 View (Exercise 10), what is the common key that links Sales, Reviews, and Photos tables?
Q5. A Streaming Semantic Model in Power BI Service is best for which scenario?
๐ Key Takeaways โ Part 3
- AI Insights (Vision, Text Analytics) runs machine learning inside Power Query โ no coding needed
- Sentiment scores range from 0 (very negative) to 1 (very positive)
- The
PATH()DAX function is the standard way to handle parent-child hierarchies - Streaming Semantic Models enable real-time dashboards that auto-update without manual refresh
- A 360 View connects multiple data types (table, text, image) via a shared key โ this is star schema design
- Vector/Semantic search with Fabric enables concept-based search, not just keyword matching