Power BI - Modelling Data

Master Power BI Dashboard Excel Power BI Dashboards
3 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$10
List Price:  $199
You save:  $189
€9.60
List Price:  €191.16
You save:  €181.55
£7.82
List Price:  £155.80
You save:  £147.98
CA$14.32
List Price:  CA$285.15
You save:  CA$270.82
A$16.01
List Price:  A$318.70
You save:  A$302.69
S$13.50
List Price:  S$268.74
You save:  S$255.24
HK$77.70
List Price:  HK$1,546.39
You save:  HK$1,468.69
CHF 8.85
List Price:  CHF 176.11
You save:  CHF 167.26
NOK kr112.69
List Price:  NOK kr2,242.57
You save:  NOK kr2,129.87
DKK kr71.73
List Price:  DKK kr1,427.42
You save:  DKK kr1,355.69
NZ$17.68
List Price:  NZ$352.02
You save:  NZ$334.33
د.إ36.72
List Price:  د.إ730.92
You save:  د.إ694.19
৳1,193.10
List Price:  ৳23,742.76
You save:  ৳22,549.66
₹853.97
List Price:  ₹16,994.19
You save:  ₹16,140.21
RM44.87
List Price:  RM892.91
You save:  RM848.04
₦15,455.99
List Price:  ₦307,574.36
You save:  ₦292,118.36
₨2,779.55
List Price:  ₨55,313.12
You save:  ₨52,533.56
฿341.70
List Price:  ฿6,799.83
You save:  ฿6,458.13
₺351.95
List Price:  ₺7,003.86
You save:  ₺6,651.91
B$63.76
List Price:  B$1,268.88
You save:  B$1,205.12
R187.50
List Price:  R3,731.33
You save:  R3,543.82
Лв18.80
List Price:  Лв374.15
You save:  Лв355.35
₩14,572.59
List Price:  ₩289,994.66
You save:  ₩275,422.07
₪36.49
List Price:  ₪726.23
You save:  ₪689.73
₱586.60
List Price:  ₱11,673.34
You save:  ₱11,086.74
¥1,571.74
List Price:  ¥31,277.82
You save:  ¥29,706.07
MX$201.64
List Price:  MX$4,012.67
You save:  MX$3,811.03
QR36.31
List Price:  QR722.60
You save:  QR686.29
P138.66
List Price:  P2,759.41
You save:  P2,620.74
KSh1,290.40
List Price:  KSh25,678.96
You save:  KSh24,388.56
E£508.34
List Price:  E£10,116
You save:  E£9,607.65
ብር1,271.21
List Price:  ብር25,297.26
You save:  ብር24,026.04
Kz9,120
List Price:  Kz181,488
You save:  Kz172,368
CLP$9,892.90
List Price:  CLP$196,868.71
You save:  CLP$186,975.81
CN¥72.99
List Price:  CN¥1,452.50
You save:  CN¥1,379.51
RD$608.17
List Price:  RD$12,102.65
You save:  RD$11,494.48
DA1,351.01
List Price:  DA26,885.16
You save:  DA25,534.14
FJ$23.18
List Price:  FJ$461.41
You save:  FJ$438.22
Q76.90
List Price:  Q1,530.41
You save:  Q1,453.51
GY$2,088.84
List Price:  GY$41,567.99
You save:  GY$39,479.15
ISK kr1,395.50
List Price:  ISK kr27,770.45
You save:  ISK kr26,374.95
DH100.68
List Price:  DH2,003.60
You save:  DH1,902.92
L184.20
List Price:  L3,665.77
You save:  L3,481.56
ден590.93
List Price:  ден11,759.56
You save:  ден11,168.63
MOP$79.87
List Price:  MOP$1,589.43
You save:  MOP$1,509.56
N$185.64
List Price:  N$3,694.36
You save:  N$3,508.72
C$367.38
List Price:  C$7,310.90
You save:  C$6,943.52
रु1,359.77
List Price:  रु27,059.52
You save:  रु25,699.74
S/37.17
List Price:  S/739.84
You save:  S/702.66
K40.52
List Price:  K806.39
You save:  K765.87
SAR37.55
List Price:  SAR747.27
You save:  SAR709.72
ZK276.30
List Price:  ZK5,498.56
You save:  ZK5,222.25
L47.84
List Price:  L952.07
You save:  L904.23
Kč241.81
List Price:  Kč4,812.21
You save:  Kč4,570.39
Ft3,948.26
List Price:  Ft78,570.54
You save:  Ft74,622.27
SEK kr108.82
List Price:  SEK kr2,165.57
You save:  SEK kr2,056.74
ARS$10,270.87
List Price:  ARS$204,390.46
You save:  ARS$194,119.58
Bs68.99
List Price:  Bs1,372.92
You save:  Bs1,303.93
COP$44,128.07
List Price:  COP$878,148.77
You save:  COP$834,020.69
₡5,069.39
List Price:  ₡100,880.97
You save:  ₡95,811.57
L253.67
List Price:  L5,048.06
You save:  L4,794.38
₲77,865.54
List Price:  ₲1,549,524.33
You save:  ₲1,471,658.78
$U444.41
List Price:  $U8,843.80
You save:  $U8,399.39
zł40.94
List Price:  zł814.78
You save:  zł773.83
Already have an account? Log In

Transcript

Okay, so now we've loaded our data. We're happy with what we did, okay, and we've applied our first transformation, which is extracting the year from order date. Okay, so we've done a great job. So far, we're happy with both of them salesperson and sales. What we're going to be doing next is go to home, select close and apply. And this will now get added to into our data model.

So it's pretty quick. Okay, so if we jump over to data over here, and you can see that sales and salesperson have already been loaded, we just scroll down. It's the same data that we're seeing right now, if we jump over to salesperson is the same six people over here, so that's looking good as well. And the next thing for us with our data model is we want to ensure that they are correctly related to each other. Okay, so what do I mean by that? So let's jump over to this tab over here in the model.

And you can see now the relationships so we have sales, we have sales person But you might be wondering, where did this come from? Okay, so this line over here signifies on how sales person is related to sales. And you can see if we hover over the line, you can see sales person ID being highlighted. Okay? So let me just double click on the line so that we can have a better look over here. Okay, so if we go over to what's highlighted is showing that Power BI was smart enough to infer on what was the relationship or the related columns between the two tables?

Because it's correct. Okay, so you can see that salesperson ID of salesperson table was related to the salesperson ID column of sales, which means what we're saying is, this one over here would pretty much represent as well, wherever the salesperson is to a specific sales role. And it was able to infer as well that there's many to one for the cardinality What this means is Many to one so many sales, right is related to one single salesperson, which is true. Because, for example, this one, Michael Jackson has a sales person ID of one. And there's only one, salesperson ID with the number of one in here, right? But over here in the sales table, there's a lot of ones over here because Michael Jackson has made more than one sale.

Okay, so same thing for to salesperson tree, right? So for john, for example, if we jump over to the spreadsheet so that he can have a quick look. So if we jump over here, you could see that there's a lot of trees over here, right? Because there's many instances of salesperson ID number three. So these are all sales that are made by john over here. Okay, so if we jump over back here, so which means this relationship is working fine.

So the inferred relationship by Power BI is fine. So we're good with it. Let's go Okay, which means our data model is good to go.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.