SlideShare a Scribd company logo
1 of 16
Download to read offline
Power BI Data Model: A Comprehensive Overview
What is data modelling?
Data modelling is the process of analysing and defining all the different data your business
collects and produces, as well as the relationships between those bits of data. Data
modelling concepts create visual representations of data as it’s used at your business, and
the process itself is an exercise in understanding and clarifying your data requirements.
Why data modelling is important
By modelling your data, you’ll document what data you have, how you use it, and what your
requirements are surrounding usage, protection, and governance. Through data modelling,
your Organisation:
Creates a structure for collaboration between your IT team and your business teams.
Exposes opportunities for improving business processes by defining data needs and uses.
Saves time and money on IT and process investments through appropriate planning up
front.
Reduces errors (and error-prone redundant data entry), while improving data integrity.
Increases the speed and performance of data retrieval and analytics by planning for capacity
and growth.
Sets and tracks target key performance indicators tailored to your business objectives.
So, it isn’t just what you get with data modelling, but also how you get it. The process itself
provides significant benefits.
Become a Power BI Certified professional by learning this HKR Power BI Training !
Data modelling examples
Now that you know what data modelling is and why it’s important, let’s look at the three
different data modelling concepts as examples.
Conceptual data modelling
A conceptual data model defines the overall structure of your business and data. It’s used for
organising business concepts, as defined by your business stakeholders and data architects.
For instance, you may have customer, employee, and product data, and each of those data
buckets, known as entities, has relationships with other entities. Both the entities and the
entity relationships are defined in your conceptual model.
Logical data modelling
A logical data model builds on the conceptual model with specific attributes of data within
each entity and specific relationships between those attributes. For instance, Customer A
buys Product B from Sales Associate C. This is your technical model of the rules and data
structures as defined by data architects and business analysts, and it will help drive
decisions about what physical model your data and business needs require.
Physical data modelling
A physical data model is your specific implementation of the logical data model, and it’s
created by database administrators and developers. It is developed for a specific database
tool and data storage technology, and with data connectors to serve the data throughout
your business systems to users as needed. This is the “thing” the other models have been
leading to—the actual implementation of your data estate.
To Become a Master in Power BI ? Then visit here to Learn Power BI Tutorial
Organizing Your Power BI Data Model
1. Star Schema
One of the best ways to set up a Power BI data model is using the Star Schema. It gets its
name because it resembles a star.
The Fact table is at the center of the star and the Dimension or Lookup tables are at each
point of the star.
Here is what it looks like with relationships:
The data model doesn’t have to look exactly like a star. The idea is to place the Fact table at
the middle while the other tables neatly surround it.
2. Waterfall Approach
Another great way to organize a data model is using the Waterfall Approach.
The Dimension or Lookup tables are arranged at the top while the Value or Fact tables are
arranged below. This makes it easy to visualize the relationships as if they’re “falling” to the
Fact table.
These are the different parts of the Waterfall layout:
The Lookup tables are placed at the top while the Fact tables are placed in the middle. The
Measure tables are grouped in a column over to the right. The Supporting tables are placed
in rows at the bottom left.
Managing Relationships In A Power BI Data Model
1. Manage Relationships
Make sure to delete any relationships that might have been automatically generated by
Power BI. It’s better to manually recreate each relationship. You can use the Manage
Relationships dialogue to maintain the relationships in your data model.
When using Manage Relationships, you’re presented with the full list of relationships in your
model.
You can see all the From and To tables and columns. This makes it easier to spot incorrect
Keys that are being used to join tables. The state of each relationship is also presented. This
allows you to activate or inactivate relationships as necessary.
2. Cardinality In A Power BI Data Model
The Manage Relationships dialogue also makes it easy to view the cardinality and its
direction.
Ideally, relationships can either be one-to-many or many-to-one. Power BI is excellent at
defaulting the cardinality according to your data.
To view the cardinality, click the Edit button found at the bottom of the dialogue.
For this example, you can see the relationship between Sales and Channels. Scrolling to the
right-most column of each table, you’ll see that Power BI has picked up the Channel Key for
each row.
You can also choose the correct cardinality. Make sure that your cross filter direction is either
Single or Both, depending on your data model.
Power BI uses Single as the default. So when you see that the default for the cross filter
direction is Both, take a moment to confirm that the data in your data set is loaded and
transformed as intended.
3. One-to-many Vs Many-to-one
For relationships in Power BI, it’s recommended to use one-to-many relationships as much
as possible. This is denoted by a single directional arrowhead.
Avoid bi-directional relationships unless absolutely necessary. Bi-directional relationships are
denoted by double directional arrowheads. These types of relationships can lead to
inconsistent results and often require more complex DAX.
4. Active Vs Inactive Relationships
You can only have one active relationship between two related tables. But you can have as
many inactive relationships as you want between those tables.
As an example, if you try to activate the OrderDate column from Sales, a pop-up will appear
saying that you can’t do two relationships between the same two tables.
So, you’ll need to inactivate the Invoice Date relationship. That’s the time you can activate
OrderDate.
Also, by using the USERELATIONSHIP command, you can use an inactive relationship
on-demand in a DAX measure.
Adding Tables And Columns In A Power BI Data Model
1. Measure Tables
You can add Measure tables by choosing Enter Data from the Home menu.
Once you click that, a window will appear that allows you to create a new table.
When creating a Measure table, make sure to give it a meaningful name. In this case, it’s
called Core Measures. Once done, click Load.
In this example, there is already an existing Core Measures table. So, Power BI
automatically labels the newly created table as Core Measures (2). This also has a default
Column 1.
Right-click Core Measures (2) and then select New measure.
For the sake of demonstration, let’s just input m1 = 1 in the measure.
This is now added under Core Measures (2). Make sure to delete or hide the default column.
If you hide and then expand the Field pane, you’ll see that Core Measures (2) now appears
at the top of the field.
2. Linking Columns
When it comes to linking columns in Power BI, it’s recommended to use the suffix Key on
any column that will be used for linking. If a column ends with ID or Code, you need to be
wary of them as they may mean different things in different tables
You should only link columns that have similar names. For example, when linking the
Customer Key, it’s important to ensure that all fields used for linking all end with the word
Key. You also need to make sure that they’re of the correct data type.
3. Column Visibility
If you’ll be the only one using the Power BI report you created, then column visibility is not
that big of a deal. However, if you’ll be publishing a report or data set to be used by others,
it’s a good idea to tidy things up.
You can do so by selecting the correct measures for the visuals and then hiding columns that
don’t appear in them. Hidden columns are grayed-out.
To hide columns, you only need to right-click on a specific column and then select Hide.
You can choose to hide hidden columns by right-clicking on the Field pane and then
unchecking View hidden.
Conclusion
This tutorial provides you with a comprehensive outline of the things you need to consider
and execute when creating data models in Power BI.
It’s important to make sure that data models and the relationships are set up correctly to
avoid complications in the later stages of developing your report. Following these tips will
guarantee a seamless flow from start to finish.
If you want to know more about Data Modeling, please visit this blog Power BI Data
Modeling

More Related Content

What's hot

Introduction to DAX
Introduction to DAXIntroduction to DAX
Introduction to DAXIke Ellis
 
Power BI - Bring your data together
Power BI - Bring your data togetherPower BI - Bring your data together
Power BI - Bring your data togetherStéphane Fréchette
 
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...Edureka!
 
Best practices to deliver data analytics to the business with power bi
Best practices to deliver data analytics to the business with power biBest practices to deliver data analytics to the business with power bi
Best practices to deliver data analytics to the business with power biSatya Shyam K Jayanty
 
Microsoft power bi
Microsoft power biMicrosoft power bi
Microsoft power bitechpro360
 
Data Visualisation & Analytics with Tableau (Beginner) - by Maria Koumandraki
Data Visualisation & Analytics with Tableau (Beginner) - by Maria KoumandrakiData Visualisation & Analytics with Tableau (Beginner) - by Maria Koumandraki
Data Visualisation & Analytics with Tableau (Beginner) - by Maria KoumandrakiOutreach Digital
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaEdureka!
 
Visualization using Tableau
Visualization using TableauVisualization using Tableau
Visualization using TableauGirija Muscut
 
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...Power BI Interview Questions and Answers | Power BI Certification | Power BI ...
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...Edureka!
 
Introduction to Azure Databricks
Introduction to Azure DatabricksIntroduction to Azure Databricks
Introduction to Azure DatabricksJames Serra
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceDenodo
 
Tableau online training
Tableau online trainingTableau online training
Tableau online trainingsuresh
 
Data Visualization Using PowerBI.pdf
Data Visualization Using PowerBI.pdfData Visualization Using PowerBI.pdf
Data Visualization Using PowerBI.pdfR20BBA040
 

What's hot (20)

Introduction to DAX
Introduction to DAXIntroduction to DAX
Introduction to DAX
 
Power BI - Bring your data together
Power BI - Bring your data togetherPower BI - Bring your data together
Power BI - Bring your data together
 
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
Power BI Training | Getting Started with Power BI | Power BI Tutorial | Power...
 
Best practices to deliver data analytics to the business with power bi
Best practices to deliver data analytics to the business with power biBest practices to deliver data analytics to the business with power bi
Best practices to deliver data analytics to the business with power bi
 
Microsoft power bi
Microsoft power biMicrosoft power bi
Microsoft power bi
 
Data Visualisation & Analytics with Tableau (Beginner) - by Maria Koumandraki
Data Visualisation & Analytics with Tableau (Beginner) - by Maria KoumandrakiData Visualisation & Analytics with Tableau (Beginner) - by Maria Koumandraki
Data Visualisation & Analytics with Tableau (Beginner) - by Maria Koumandraki
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
 
DAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to HeroDAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to Hero
 
Visualization using Tableau
Visualization using TableauVisualization using Tableau
Visualization using Tableau
 
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...Power BI Interview Questions and Answers | Power BI Certification | Power BI ...
Power BI Interview Questions and Answers | Power BI Certification | Power BI ...
 
Introduction to Azure Databricks
Introduction to Azure DatabricksIntroduction to Azure Databricks
Introduction to Azure Databricks
 
Tableau ppt
Tableau pptTableau ppt
Tableau ppt
 
Data Analysis Expressions (DAX) Training
Data Analysis Expressions (DAX) TrainingData Analysis Expressions (DAX) Training
Data Analysis Expressions (DAX) Training
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and Governance
 
Tableau online training
Tableau online trainingTableau online training
Tableau online training
 
Data Visualization Using PowerBI.pdf
Data Visualization Using PowerBI.pdfData Visualization Using PowerBI.pdf
Data Visualization Using PowerBI.pdf
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Power of power BI
Power of power BI Power of power BI
Power of power BI
 
Introduction to Tableau
Introduction to Tableau Introduction to Tableau
Introduction to Tableau
 
My tableau
My tableauMy tableau
My tableau
 

Similar to Power BI Data Modeling.pdf

ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft MaterialAhmed Hashem
 
Designing the business process dimensional model
Designing the business process dimensional modelDesigning the business process dimensional model
Designing the business process dimensional modelGersiton Pila Challco
 
The Art of Data Visualization in Microsoft Excel for Mac.pdf
The Art of Data Visualization in Microsoft Excel for Mac.pdfThe Art of Data Visualization in Microsoft Excel for Mac.pdf
The Art of Data Visualization in Microsoft Excel for Mac.pdfTEWMAGAZINE
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional ModelingSunita Sahu
 
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BI
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BIOffice 365 Saturday Europe - Self-Service Business Intelligence with Power BI
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BIMarius Constantinescu [MVP]
 
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!Ultimate Guide to Tableau: 5 Mind-boggling Advantages!
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!Kavika Roy
 
Tableau interview questions and answers
Tableau interview questions and answersTableau interview questions and answers
Tableau interview questions and answerskavinilavuG
 
Data modeling 101 - Basics - Software Domain
Data modeling 101 - Basics - Software DomainData modeling 101 - Basics - Software Domain
Data modeling 101 - Basics - Software DomainAbdul Ahad
 
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docxhoney725342
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxedieali1
 
Tableau (BI) interview questions version 2.0
Tableau (BI) interview questions version 2.0Tableau (BI) interview questions version 2.0
Tableau (BI) interview questions version 2.0Visualect
 
Understanding Data Modelling Techniques: A Compre….pdf
Understanding Data Modelling Techniques: A Compre….pdfUnderstanding Data Modelling Techniques: A Compre….pdf
Understanding Data Modelling Techniques: A Compre….pdfLynn588356
 
Tutorial for Beginners WHAT IS TABLEAU.docx
Tutorial for Beginners WHAT IS TABLEAU.docxTutorial for Beginners WHAT IS TABLEAU.docx
Tutorial for Beginners WHAT IS TABLEAU.docxjuliennehar
 
Power BI Report.pdf
Power BI Report.pdfPower BI Report.pdf
Power BI Report.pdfVishnuGone
 
How to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauHow to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauEdureka!
 

Similar to Power BI Data Modeling.pdf (20)

ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft Material
 
PowerBI Training
PowerBI Training PowerBI Training
PowerBI Training
 
Designing the business process dimensional model
Designing the business process dimensional modelDesigning the business process dimensional model
Designing the business process dimensional model
 
The Art of Data Visualization in Microsoft Excel for Mac.pdf
The Art of Data Visualization in Microsoft Excel for Mac.pdfThe Art of Data Visualization in Microsoft Excel for Mac.pdf
The Art of Data Visualization in Microsoft Excel for Mac.pdf
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BI
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BIOffice 365 Saturday Europe - Self-Service Business Intelligence with Power BI
Office 365 Saturday Europe - Self-Service Business Intelligence with Power BI
 
Kpi handbook implementation on bizforce one
Kpi handbook implementation on bizforce oneKpi handbook implementation on bizforce one
Kpi handbook implementation on bizforce one
 
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!Ultimate Guide to Tableau: 5 Mind-boggling Advantages!
Ultimate Guide to Tableau: 5 Mind-boggling Advantages!
 
Tableau interview questions and answers
Tableau interview questions and answersTableau interview questions and answers
Tableau interview questions and answers
 
Data modeling 101 - Basics - Software Domain
Data modeling 101 - Basics - Software DomainData modeling 101 - Basics - Software Domain
Data modeling 101 - Basics - Software Domain
 
Power bi
Power biPower bi
Power bi
 
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
 
How to use Power Pivot in Excel
How to use Power Pivot in ExcelHow to use Power Pivot in Excel
How to use Power Pivot in Excel
 
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
 
Tableau (BI) interview questions version 2.0
Tableau (BI) interview questions version 2.0Tableau (BI) interview questions version 2.0
Tableau (BI) interview questions version 2.0
 
Understanding Data Modelling Techniques: A Compre….pdf
Understanding Data Modelling Techniques: A Compre….pdfUnderstanding Data Modelling Techniques: A Compre….pdf
Understanding Data Modelling Techniques: A Compre….pdf
 
Tutorial for Beginners WHAT IS TABLEAU.docx
Tutorial for Beginners WHAT IS TABLEAU.docxTutorial for Beginners WHAT IS TABLEAU.docx
Tutorial for Beginners WHAT IS TABLEAU.docx
 
Power BI Report.pdf
Power BI Report.pdfPower BI Report.pdf
Power BI Report.pdf
 
How to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in TableauHow to Improve Data Analysis Through Visualization in Tableau
How to Improve Data Analysis Through Visualization in Tableau
 
Salesforce Data Structures
Salesforce Data StructuresSalesforce Data Structures
Salesforce Data Structures
 

More from VishnuGone

Ansible Copy Module.pdf
Ansible Copy Module.pdfAnsible Copy Module.pdf
Ansible Copy Module.pdfVishnuGone
 
Salesforce Lightning Design System.pdf
Salesforce Lightning Design System.pdfSalesforce Lightning Design System.pdf
Salesforce Lightning Design System.pdfVishnuGone
 
Snowflake Time Travel.pdf
Snowflake Time Travel.pdfSnowflake Time Travel.pdf
Snowflake Time Travel.pdfVishnuGone
 
Snowflake Cloning.pdf
Snowflake Cloning.pdfSnowflake Cloning.pdf
Snowflake Cloning.pdfVishnuGone
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfVishnuGone
 
windows vs linux.pdf
windows vs linux.pdfwindows vs linux.pdf
windows vs linux.pdfVishnuGone
 
Linux Operating System.pdf
Linux Operating System.pdfLinux Operating System.pdf
Linux Operating System.pdfVishnuGone
 
Linux Bash.pdf
Linux Bash.pdfLinux Bash.pdf
Linux Bash.pdfVishnuGone
 
Alteryx Vs Knime.pdf
Alteryx Vs Knime.pdfAlteryx Vs Knime.pdf
Alteryx Vs Knime.pdfVishnuGone
 
Pega RuleSet.pdf
Pega RuleSet.pdfPega RuleSet.pdf
Pega RuleSet.pdfVishnuGone
 
What is Apigee.pdf
What is Apigee.pdfWhat is Apigee.pdf
What is Apigee.pdfVishnuGone
 
MuleSoft Anypoint Platform.pdf
MuleSoft Anypoint Platform.pdfMuleSoft Anypoint Platform.pdf
MuleSoft Anypoint Platform.pdfVishnuGone
 
Alteryx Tools.pdf
Alteryx Tools.pdfAlteryx Tools.pdf
Alteryx Tools.pdfVishnuGone
 
SailPoint VS CyberArk.pdf
SailPoint VS CyberArk.pdfSailPoint VS CyberArk.pdf
SailPoint VS CyberArk.pdfVishnuGone
 
What is Apigee.pdf
What is Apigee.pdfWhat is Apigee.pdf
What is Apigee.pdfVishnuGone
 
Alteryx Tutorial Step by Step Guide for Beginners
Alteryx Tutorial Step by Step Guide for BeginnersAlteryx Tutorial Step by Step Guide for Beginners
Alteryx Tutorial Step by Step Guide for BeginnersVishnuGone
 
Pega Tutorial.pdf
Pega Tutorial.pdfPega Tutorial.pdf
Pega Tutorial.pdfVishnuGone
 
Sailpoint vs Okta.pdf
Sailpoint vs Okta.pdfSailpoint vs Okta.pdf
Sailpoint vs Okta.pdfVishnuGone
 
Differences Between Power BI vs SSRS
Differences Between  Power BI vs SSRSDifferences Between  Power BI vs SSRS
Differences Between Power BI vs SSRSVishnuGone
 
Power BI Dashboard.pdf
Power BI Dashboard.pdfPower BI Dashboard.pdf
Power BI Dashboard.pdfVishnuGone
 

More from VishnuGone (20)

Ansible Copy Module.pdf
Ansible Copy Module.pdfAnsible Copy Module.pdf
Ansible Copy Module.pdf
 
Salesforce Lightning Design System.pdf
Salesforce Lightning Design System.pdfSalesforce Lightning Design System.pdf
Salesforce Lightning Design System.pdf
 
Snowflake Time Travel.pdf
Snowflake Time Travel.pdfSnowflake Time Travel.pdf
Snowflake Time Travel.pdf
 
Snowflake Cloning.pdf
Snowflake Cloning.pdfSnowflake Cloning.pdf
Snowflake Cloning.pdf
 
Ansible vs Kubernetes.pdf
Ansible vs Kubernetes.pdfAnsible vs Kubernetes.pdf
Ansible vs Kubernetes.pdf
 
windows vs linux.pdf
windows vs linux.pdfwindows vs linux.pdf
windows vs linux.pdf
 
Linux Operating System.pdf
Linux Operating System.pdfLinux Operating System.pdf
Linux Operating System.pdf
 
Linux Bash.pdf
Linux Bash.pdfLinux Bash.pdf
Linux Bash.pdf
 
Alteryx Vs Knime.pdf
Alteryx Vs Knime.pdfAlteryx Vs Knime.pdf
Alteryx Vs Knime.pdf
 
Pega RuleSet.pdf
Pega RuleSet.pdfPega RuleSet.pdf
Pega RuleSet.pdf
 
What is Apigee.pdf
What is Apigee.pdfWhat is Apigee.pdf
What is Apigee.pdf
 
MuleSoft Anypoint Platform.pdf
MuleSoft Anypoint Platform.pdfMuleSoft Anypoint Platform.pdf
MuleSoft Anypoint Platform.pdf
 
Alteryx Tools.pdf
Alteryx Tools.pdfAlteryx Tools.pdf
Alteryx Tools.pdf
 
SailPoint VS CyberArk.pdf
SailPoint VS CyberArk.pdfSailPoint VS CyberArk.pdf
SailPoint VS CyberArk.pdf
 
What is Apigee.pdf
What is Apigee.pdfWhat is Apigee.pdf
What is Apigee.pdf
 
Alteryx Tutorial Step by Step Guide for Beginners
Alteryx Tutorial Step by Step Guide for BeginnersAlteryx Tutorial Step by Step Guide for Beginners
Alteryx Tutorial Step by Step Guide for Beginners
 
Pega Tutorial.pdf
Pega Tutorial.pdfPega Tutorial.pdf
Pega Tutorial.pdf
 
Sailpoint vs Okta.pdf
Sailpoint vs Okta.pdfSailpoint vs Okta.pdf
Sailpoint vs Okta.pdf
 
Differences Between Power BI vs SSRS
Differences Between  Power BI vs SSRSDifferences Between  Power BI vs SSRS
Differences Between Power BI vs SSRS
 
Power BI Dashboard.pdf
Power BI Dashboard.pdfPower BI Dashboard.pdf
Power BI Dashboard.pdf
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Power BI Data Modeling.pdf

  • 1. Power BI Data Model: A Comprehensive Overview What is data modelling? Data modelling is the process of analysing and defining all the different data your business collects and produces, as well as the relationships between those bits of data. Data modelling concepts create visual representations of data as it’s used at your business, and the process itself is an exercise in understanding and clarifying your data requirements. Why data modelling is important By modelling your data, you’ll document what data you have, how you use it, and what your requirements are surrounding usage, protection, and governance. Through data modelling, your Organisation: Creates a structure for collaboration between your IT team and your business teams. Exposes opportunities for improving business processes by defining data needs and uses. Saves time and money on IT and process investments through appropriate planning up front. Reduces errors (and error-prone redundant data entry), while improving data integrity. Increases the speed and performance of data retrieval and analytics by planning for capacity and growth. Sets and tracks target key performance indicators tailored to your business objectives. So, it isn’t just what you get with data modelling, but also how you get it. The process itself provides significant benefits. Become a Power BI Certified professional by learning this HKR Power BI Training ! Data modelling examples Now that you know what data modelling is and why it’s important, let’s look at the three different data modelling concepts as examples. Conceptual data modelling A conceptual data model defines the overall structure of your business and data. It’s used for organising business concepts, as defined by your business stakeholders and data architects. For instance, you may have customer, employee, and product data, and each of those data buckets, known as entities, has relationships with other entities. Both the entities and the entity relationships are defined in your conceptual model. Logical data modelling
  • 2. A logical data model builds on the conceptual model with specific attributes of data within each entity and specific relationships between those attributes. For instance, Customer A buys Product B from Sales Associate C. This is your technical model of the rules and data structures as defined by data architects and business analysts, and it will help drive decisions about what physical model your data and business needs require. Physical data modelling A physical data model is your specific implementation of the logical data model, and it’s created by database administrators and developers. It is developed for a specific database tool and data storage technology, and with data connectors to serve the data throughout your business systems to users as needed. This is the “thing” the other models have been leading to—the actual implementation of your data estate. To Become a Master in Power BI ? Then visit here to Learn Power BI Tutorial Organizing Your Power BI Data Model 1. Star Schema One of the best ways to set up a Power BI data model is using the Star Schema. It gets its name because it resembles a star.
  • 3. The Fact table is at the center of the star and the Dimension or Lookup tables are at each point of the star. Here is what it looks like with relationships: The data model doesn’t have to look exactly like a star. The idea is to place the Fact table at the middle while the other tables neatly surround it. 2. Waterfall Approach Another great way to organize a data model is using the Waterfall Approach.
  • 4. The Dimension or Lookup tables are arranged at the top while the Value or Fact tables are arranged below. This makes it easy to visualize the relationships as if they’re “falling” to the Fact table. These are the different parts of the Waterfall layout: The Lookup tables are placed at the top while the Fact tables are placed in the middle. The Measure tables are grouped in a column over to the right. The Supporting tables are placed in rows at the bottom left. Managing Relationships In A Power BI Data Model 1. Manage Relationships Make sure to delete any relationships that might have been automatically generated by Power BI. It’s better to manually recreate each relationship. You can use the Manage Relationships dialogue to maintain the relationships in your data model. When using Manage Relationships, you’re presented with the full list of relationships in your model.
  • 5. You can see all the From and To tables and columns. This makes it easier to spot incorrect Keys that are being used to join tables. The state of each relationship is also presented. This allows you to activate or inactivate relationships as necessary. 2. Cardinality In A Power BI Data Model The Manage Relationships dialogue also makes it easy to view the cardinality and its direction. Ideally, relationships can either be one-to-many or many-to-one. Power BI is excellent at defaulting the cardinality according to your data. To view the cardinality, click the Edit button found at the bottom of the dialogue.
  • 6. For this example, you can see the relationship between Sales and Channels. Scrolling to the right-most column of each table, you’ll see that Power BI has picked up the Channel Key for each row.
  • 7. You can also choose the correct cardinality. Make sure that your cross filter direction is either Single or Both, depending on your data model. Power BI uses Single as the default. So when you see that the default for the cross filter direction is Both, take a moment to confirm that the data in your data set is loaded and transformed as intended. 3. One-to-many Vs Many-to-one For relationships in Power BI, it’s recommended to use one-to-many relationships as much as possible. This is denoted by a single directional arrowhead.
  • 8. Avoid bi-directional relationships unless absolutely necessary. Bi-directional relationships are denoted by double directional arrowheads. These types of relationships can lead to inconsistent results and often require more complex DAX. 4. Active Vs Inactive Relationships You can only have one active relationship between two related tables. But you can have as many inactive relationships as you want between those tables.
  • 9. As an example, if you try to activate the OrderDate column from Sales, a pop-up will appear saying that you can’t do two relationships between the same two tables.
  • 10. So, you’ll need to inactivate the Invoice Date relationship. That’s the time you can activate OrderDate. Also, by using the USERELATIONSHIP command, you can use an inactive relationship on-demand in a DAX measure. Adding Tables And Columns In A Power BI Data Model 1. Measure Tables You can add Measure tables by choosing Enter Data from the Home menu. Once you click that, a window will appear that allows you to create a new table.
  • 11. When creating a Measure table, make sure to give it a meaningful name. In this case, it’s called Core Measures. Once done, click Load. In this example, there is already an existing Core Measures table. So, Power BI automatically labels the newly created table as Core Measures (2). This also has a default Column 1.
  • 12. Right-click Core Measures (2) and then select New measure.
  • 13. For the sake of demonstration, let’s just input m1 = 1 in the measure. This is now added under Core Measures (2). Make sure to delete or hide the default column. If you hide and then expand the Field pane, you’ll see that Core Measures (2) now appears at the top of the field. 2. Linking Columns When it comes to linking columns in Power BI, it’s recommended to use the suffix Key on any column that will be used for linking. If a column ends with ID or Code, you need to be wary of them as they may mean different things in different tables You should only link columns that have similar names. For example, when linking the Customer Key, it’s important to ensure that all fields used for linking all end with the word Key. You also need to make sure that they’re of the correct data type. 3. Column Visibility If you’ll be the only one using the Power BI report you created, then column visibility is not that big of a deal. However, if you’ll be publishing a report or data set to be used by others, it’s a good idea to tidy things up.
  • 14. You can do so by selecting the correct measures for the visuals and then hiding columns that don’t appear in them. Hidden columns are grayed-out. To hide columns, you only need to right-click on a specific column and then select Hide.
  • 15. You can choose to hide hidden columns by right-clicking on the Field pane and then unchecking View hidden.
  • 16. Conclusion This tutorial provides you with a comprehensive outline of the things you need to consider and execute when creating data models in Power BI. It’s important to make sure that data models and the relationships are set up correctly to avoid complications in the later stages of developing your report. Following these tips will guarantee a seamless flow from start to finish. If you want to know more about Data Modeling, please visit this blog Power BI Data Modeling