MSK Institute LogoMSK.Institute
HomeCourses
Book Free Demo➔Sign In
Free Demo➔
MSK Institute LogoMSK.Institute

Leading computer training academy in Shikohabad for software engineering, Python, web development, and digital literacy.

ISO 9001:2015 Certified Center
Follow & Connect
4.9

Programs & Admissions

  • All CoursesCatalog
  • Learning PathsRoadmaps
  • Student ProjectsShowcase
  • Live Classes & ScheduleLive
  • Upcoming Batches
  • Campuses & LocationsHub
  • Verify Certificates
  • Book Free Demo Class

Resources & Tools

  • Free Online Mock TestsAll Tests
  • NIELIT CCC Mock TestFree
  • Course & Career FinderQuiz
  • Study Material Hub
  • All MSK ToolsHub
  • Keyboard ShortcutsNew
  • TypeQuest Speed LabTyping
  • MSK Code PlaygroundCode
  • Interactive Tutorials
  • Quick Cheatsheets

Institute & Contact

  • About MSK Institute
  • Careers & InternshipsHiring
  • Publications & Blogs
  • Gali No. 3, Near Gyan Jyoti Public School,
    Adarsh Nagar, Shikohabad, Uttar Pradesh 283135
  • +91 83930 42166
  • mskshikohabad@gmail.com
  • Hours:Mon – Sat: 8:00 AM – 7:00 PM | Sun: 10:00 AM – 2:00 PM
  • 4.9 ★(38 Google Reviews)
© 2026 MSK Institute. All rights reserved.•Privacy Policy•Terms of Service•Disclaimer•Contact Us

Shikohabad's Leading Computer & Coding Academy

Home
Courses
Live
Material
Data Modeling, DAX, Visualization0%
Study MaterialsCheatsheet
Power BI for IntermediateProgress 0%
1.1Quick recap of Import, Modeling, DAX1.2Project requirements for Intermediate Level
10.1End-to-End Project with Real Dataset10.2Data Modeling, DAX, Visualization10.3Publishing and Sharing Reports
HomeTutorialsPower BI for IntermediateData Modeling, DAX, Visualization
Publishing and Sharing Reports

Data Modeling, DAX, Visualization

Beginner12 min read•Updated: 2026-11-18•By Er. Sumit Kumar (MSK Institute)
Study MaterialsCheatsheet

Capstone Project: Model Relationships, DAX Measures & Visualization

Following our Power Query ETL transformations, we now configure the physical relationships in Model View, build out the centralized KPI measure library, and design the multi-page user interface.


1. Configuring Model Relationships

In Power BI Model View, establish the following relationships:

1 [Dim_Customer]
2 CustomerID (1)
3 |
4 | (1 : *) Single
5 v
6[Dim_Product] ---> [Fact_SalesOrders] <--- [Dim_Geography]
7SubCat (1 : *) ^ ^ City (1 : *)
8 | (Active) | (Inactive)
9 | |
10 [Dim_Date] (ShipDate via USERELATIONSHIP)
11 Date (1)
  1. 1
    Dim_Customer[CustomerID] ($1$) → Fact_SalesOrders[CustomerID] ($*$)
  2. 2
    Dim_Product[SubCategory] ($1$) → Fact_SalesOrders[SubCategory] ($*$)
  3. 3
    Dim_Geography[City] ($1$) → Fact_SalesOrders[City] ($*$)
  4. 4
    Dim_Date[Date] ($1$) → Fact_SalesOrders[OrderDate] ($*$) [ACTIVE]
  5. 5
    Dim_Date[Date] ($1$) → Fact_SalesOrders[ShipDate] ($*$) [INACTIVE]

2. Core Capstone DAX Measure Library

Create a dedicated empty table named _Key Measures:

1-- 1. Base Net Revenue
2Total Sales = SUM(Fact_SalesOrders[Sales])
3 
4-- 2. Base Net Profit
5Total Profit = SUM(Fact_SalesOrders[Profit])
6 
7-- 3. Profit Margin %
8Profit Margin % =
9DIVIDE(
10 [Total Profit],
11 [Total Sales],
12 0
13)
14 
15-- 4. Cumulative Year-to-Date Sales
16Sales YTD =
17TOTALYTD(
18 [Total Sales],
19 Dim_Date[Date]
20)
21 
22-- 5. Prior Year Benchmark & YoY Growth
23Sales Prior Year =
24CALCULATE(
25 [Total Sales],
26 SAMEPERIODLASTYEAR(Dim_Date[Date])
27)
28 
29Sales YoY Growth % =
30DIVIDE(
31 [Total Sales] - [Sales Prior Year],
32 [Sales Prior Year],
33 0
34)
35 
36-- 6. Sales by Shipping Date (Inactive Relationship)
37Sales by Ship Date =
38CALCULATE(
39 [Total Sales],
40 USERELATIONSHIP(Fact_SalesOrders[ShipDate], Dim_Date[Date])
41)

3. Designing the Final Capstone Dashboard

Build three interconnected pages:

  1. 1
    Executive Overview Page: KPI Cards (Sales, Profit, Margin %, YoY Growth), Monthly Trend Combo Chart, Category Breakdown.
  2. 2
    Regional Deep-Dive Page: Map visual, City-level matrix table, Region drillthrough.
  3. 3
    Product Detail Drillthrough Page: Customer list, order history, and discount sensitivity analysis.

Interactive Quiz• Knowledge Check

Multiple Choice Questions

Question 1
In which view in Power BI Desktop do you verify that relationship cardinality is set to One-to-Many ($1 : *$) with Single cross-filter direction?
Question 2
How do you create an empty table dedicated exclusively to storing DAX measures in Power BI Desktop?
Question 3
What does the measure Sales by Ship Date calculate when it utilizes USERELATIONSHIP(Fact_SalesOrders[ShipDate], Dim_Date[Date])?
Question 4
What color and styling best practices should be applied to financial and sales executive dashboards?
Question 5
Why should every business measure be formatted (e.g., Currency $#,##0, Percentage 0.0%) immediately upon creation?

Next Lesson

Publishing and Sharing Reports

Continue learning with hands-on practice, examples, and exercises in the upcoming topic.

Related Lessons

Previous LessonNext Lesson
End-to-End Project with Real DatasetPublishing and Sharing Reports

Practice Quiz

Test your understanding of this lesson with 5 questions. Each question has one correct answer.

12-Month Data Analysis Mastery Program

Master Full-Stack Data Analytics (Excel, SQL, Python, Power BI & Tableau)

Combine 15 complete courses, 150 chapters, 541 topics, live SQL/Power BI/Tableau dashboards, and Scikit-Learn capstones at MSK Institute Shikohabad or Live Online.

View Full CourseBook Free Demo
PreviousNext
PreviousPrevNext