Create Trend Line from the Pivot

Advanced Excel Dashboard Crash Course Section 2: 1st Dashboard using Pivot
8 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.21
List Price:  €134.70
You save:  €38.49
£79.77
List Price:  £111.68
You save:  £31.91
CA$143.95
List Price:  CA$201.54
You save:  CA$57.58
A$160.33
List Price:  A$224.47
You save:  A$64.14
S$135.93
List Price:  S$190.31
You save:  S$54.37
HK$776.63
List Price:  HK$1,087.32
You save:  HK$310.68
CHF 90.06
List Price:  CHF 126.09
You save:  CHF 36.02
NOK kr1,139.30
List Price:  NOK kr1,595.07
You save:  NOK kr455.76
DKK kr717.87
List Price:  DKK kr1,005.05
You save:  DKK kr287.17
NZ$177.29
List Price:  NZ$248.21
You save:  NZ$70.92
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,945.58
List Price:  ৳16,724.30
You save:  ৳4,778.71
₹8,518.63
List Price:  ₹11,926.43
You save:  ₹3,407.79
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,771.52
List Price:  ₦216,686.32
You save:  ₦61,914.80
₨27,852.21
List Price:  ₨38,994.21
You save:  ₨11,141.99
฿3,415.60
List Price:  ฿4,781.97
You save:  ฿1,366.37
₺3,525.07
List Price:  ₺4,935.24
You save:  ₺1,410.17
B$620.23
List Price:  B$868.35
You save:  B$248.12
R1,852.48
List Price:  R2,593.54
You save:  R741.06
Лв188.12
List Price:  Лв263.38
You save:  Лв75.25
₩146,004.73
List Price:  ₩204,412.46
You save:  ₩58,407.73
₪366.53
List Price:  ₪513.16
You save:  ₪146.62
₱5,844.26
List Price:  ₱8,182.20
You save:  ₱2,337.93
¥15,707.80
List Price:  ¥21,991.55
You save:  ¥6,283.75
MX$2,012.91
List Price:  MX$2,818.16
You save:  MX$805.24
QR364.43
List Price:  QR510.22
You save:  QR145.78
P1,382.66
List Price:  P1,935.78
You save:  P553.12
KSh12,923.70
List Price:  KSh18,093.70
You save:  KSh5,170
E£5,089.49
List Price:  E£7,125.49
You save:  E£2,036
ብር12,725.10
List Price:  ብር17,815.66
You save:  ብር5,090.55
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$99,038.09
List Price:  CLP$138,657.29
You save:  CLP$39,619.20
CN¥729.75
List Price:  CN¥1,021.68
You save:  CN¥291.93
RD$6,065.06
List Price:  RD$8,491.33
You save:  RD$2,426.27
DA13,522.10
List Price:  DA18,931.49
You save:  DA5,409.38
FJ$232
List Price:  FJ$324.81
You save:  FJ$92.81
Q770.19
List Price:  Q1,078.30
You save:  Q308.10
GY$20,913.42
List Price:  GY$29,279.63
You save:  GY$8,366.20
ISK kr13,961.60
List Price:  ISK kr19,546.80
You save:  ISK kr5,585.20
DH1,005.73
List Price:  DH1,408.06
You save:  DH402.33
L1,844.84
List Price:  L2,582.85
You save:  L738.01
ден5,920.21
List Price:  ден8,288.54
You save:  ден2,368.32
MOP$800
List Price:  MOP$1,120.03
You save:  MOP$320.03
N$1,842.15
List Price:  N$2,579.09
You save:  N$736.93
C$3,678.44
List Price:  C$5,149.97
You save:  C$1,471.52
रु13,621.60
List Price:  रु19,070.79
You save:  रु5,449.18
S/372.86
List Price:  S/522.02
You save:  S/149.15
K405.52
List Price:  K567.74
You save:  K162.22
SAR375.60
List Price:  SAR525.86
You save:  SAR150.25
ZK2,766.47
List Price:  ZK3,873.18
You save:  ZK1,106.70
L478.77
List Price:  L670.30
You save:  L191.52
Kč2,420.15
List Price:  Kč3,388.31
You save:  Kč968.16
Ft39,675.18
List Price:  Ft55,546.85
You save:  Ft15,871.66
SEK kr1,106.30
List Price:  SEK kr1,548.87
You save:  SEK kr442.56
ARS$102,565.23
List Price:  ARS$143,595.42
You save:  ARS$41,030.19
Bs692.24
List Price:  Bs969.16
You save:  Bs276.92
COP$438,826.54
List Price:  COP$614,374.71
You save:  COP$175,548.17
₡50,760.09
List Price:  ₡71,066.16
You save:  ₡20,306.06
L2,539.15
List Price:  L3,554.92
You save:  L1,015.76
₲780,390.60
List Price:  ₲1,092,578.06
You save:  ₲312,187.46
$U4,451.49
List Price:  $U6,232.27
You save:  $U1,780.77
zł411.19
List Price:  zł575.68
You save:  zł164.49
Already have an account? Log In

Transcript

Hello, everybody. Welcome back to dashboard training. In this video, we will see how to create a second pivot using a trend line. The current pivot that we created in the earlier video was relevant to the comparison. Now the next video will be a timeframe where we'll be presenting time as our data. And let's see how to do that.

Now here number suggests we need to create a new pivot entirely. Now that we've already created one pivot, so we'll be using that once again. So to do so, to create a copy of the existing sheet, hold on to the Ctrl key from the keyboard. Place your mouse on the sheet name, click and pull it out. As we can see, there's a small plus sign appearing just next to the sheet that we pulled out. That's an indicator, a copy will be created wherever the small triangle appears.

Now I want that to be on the right side. So we'll just drop it Once done, release the Ctrl key. That's the fastest way to create a copy of the active sheet. It's not just running For the pivot that can be done as well on raw data. So I'll just name the sheet pivot to. And once done, let's work with the data.

Now here I wish to see yearly quarterly reports, that is the count of people getting employed for the yearly quarter. To do so, I require the numbers I do not require the average, simply right click inside of at the place of average and under summarize the value by I'll be choosing count, and that will give me the count. But as we can see, it's two decimals and we we do not require two decimals. So from the Home tab, make it general and then under formatting. Now let's convert this data into a year earlier report. I'll just remove the frames to remove anything from the parameter just keep the cursor in the pivot from the column and the row label just pull the category onto the screen and that will be intern remove the fields from the pivot.

Now I've done a small modification in the data I've added DOJ, that is the date of joining in the field. Now here, there might be two ways to get things done one prepare the data in Excel itself. So let's prepare the data in Excel like yours, it would be, I would like to have yours in my worksheet which can be extracted from DOJ. So I'll just pull in a new heading called yours. And I'll be using a formula yours. Now let's select the parameter that is DOJ, close the bracket, enter, and there it is, I have the DOJ year extracted now we can also use text for that matter, I'll do the same as well so equals to text and select the date of joining but this time only the difference is that we'll be using four times why it can be done for the month.

Could also be done for the days. So there it is. So I'll just keep it yours. Now, I also wish to see days, like which day most of the employment happens like Sunday or Monday or Tuesday, which day of the week do employees mostly join the company. So let's see this. So I'll just say weekdays.

Now this time, I'll be using the formula text. We'll be going with three DS, so I get the shorter name. So there it is. Now this data has been updated to the data, and that is the dynamic data. Okay. Now it should get reflected as we saw in the earlier videos.

Let's try them all. The shortcut again will be alt f5. To refresh the pivot, as we can see, as soon as I press Alt F one automatically two new fields appear To the panel, that is pivot table fields. This that is years and weeks Isn't that fascinating. And the best part is It also appears in the second pivot table as well. Once one of the pivots is getting updated and refreshed, it indirectly refreshes the others as well.

So now, if I update any of the data, automatically, the relevant pivot tables also get updated because all the pivots are connected in the same master file. Okay, so maybe you're wondering what it is that I'm trying to convey. But let's see the data output. Now if I put in yours into the roll label, because there are a large number of years and the weeks into the column labels, and I have the yearly week wise report, but that's not what I'm looking for. I'm looking for a yearly quarter reports. I'll move the week days for now.

And I wish to have quarters to no quarter is something I don't have currently in my data. So I I'll be using a tool which is provided by the pivot table itself condition. There should not be any blank as a parameter into the pivot. And if it is, then it has to be done manually using a formula. Now let's try it and see how to get it done through pivot. I'll just remove the layers or the years for now.

And I'll drag DOJ into the access field that is the row label. And I'm using 2016 it automatically merges the data for me. But if you're using 2010 or an older version, it will not happen. So let me show you how it is done. How to group these dates into a desired output. Now this can be done only on dates and numbers the grouping.

So to group the date first, a date has to be put into the row or column label. Right click on any one of the dates and the right click option. There's a group feature provided, so click on it. A panel appears now the group panel currently that we see is four dates because the data that is provided are dates, there are two features available. One is the start date and the end date which is captured directly from the system, which is the smallest date that is the starting date and which is the largest date is, which is the end date, we can alter this date But do remember there will always be less than the particular date or greater than the particular date at the bottom. Now, if in case we alter the data, we now we wish to have quarters.

So I'll select the quarter. Do you remember the panel that is provided over here does have a multi selection feature, which means I can click in number of times, and the data gets continuously added up to the selection. Now if I want them, just click on them once again, and that will be select. Currently, I have a year field already in my data. So I'll just go with quarters. Do remember if you wish to you can actually have the quarters months multiple data as well.

Let me get back into the normal. So I'll just pull in the quarters and there it is the quarterly Reports are just drag the years about the roll label. And we have yearly quarterly reports. Now to make it even better, I'll make it into a tabular format. So I'll drag DOJ that's quarter into the column labels. And there it is.

Now to change the chart type, simply select anywhere on the chart, which is blank. And right click on the same area now did not select anywhere inside the frame, change the chart type on the line, we can select marker line and that will give us an overall view of how the data looks as the initial years in 2014, for the first, second and third quarter, there was no employment done. That's why it starts from zero. And same goes for the end as well. So let's arrange it over here. So that should do it.

And there it is. I just changed the number over here. That is count of salary will be converted into number of employees and that should do it now. So that's it. Second pivot table which we will be used to create our dashboard. Now in the next video we will see how to create the third and final pivot table which will be used for our dashboard that is called slab reporting.

Till then keep practicing to in the next video. Thank you

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.