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
€94.79
List Price:  €132.71
You save:  €37.92
£78.97
List Price:  £110.56
You save:  £31.59
CA$139.89
List Price:  CA$195.85
You save:  CA$55.96
A$153.73
List Price:  A$215.23
You save:  A$61.50
S$134.32
List Price:  S$188.05
You save:  S$53.73
HK$778.26
List Price:  HK$1,089.59
You save:  HK$311.33
CHF 88.57
List Price:  CHF 124
You save:  CHF 35.43
NOK kr1,105.08
List Price:  NOK kr1,547.16
You save:  NOK kr442.07
DKK kr706.99
List Price:  DKK kr989.82
You save:  DKK kr282.82
NZ$170.06
List Price:  NZ$238.10
You save:  NZ$68.03
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,906.24
List Price:  ৳16,669.22
You save:  ৳4,762.97
₹8,436.24
List Price:  ₹11,811.08
You save:  ₹3,374.83
RM447.10
List Price:  RM625.96
You save:  RM178.86
₦167,464.25
List Price:  ₦234,456.65
You save:  ₦66,992.40
₨27,687.73
List Price:  ₨38,763.93
You save:  ₨11,076.20
฿3,470.35
List Price:  ฿4,858.63
You save:  ฿1,388.28
₺3,445.98
List Price:  ₺4,824.51
You save:  ₺1,378.53
B$578.68
List Price:  B$810.17
You save:  B$231.49
R1,810.53
List Price:  R2,534.81
You save:  R724.28
Лв185.34
List Price:  Лв259.49
You save:  Лв74.14
₩139,691.42
List Price:  ₩195,573.58
You save:  ₩55,882.15
₪373.67
List Price:  ₪523.15
You save:  ₪149.48
₱5,901.36
List Price:  ₱8,262.14
You save:  ₱2,360.78
¥15,574.86
List Price:  ¥21,805.43
You save:  ¥6,230.57
MX$2,020.46
List Price:  MX$2,828.72
You save:  MX$808.26
QR363.35
List Price:  QR508.71
You save:  QR145.35
P1,355.53
List Price:  P1,897.79
You save:  P542.26
KSh12,948.70
List Price:  KSh18,128.70
You save:  KSh5,180
E£4,969.50
List Price:  E£6,957.50
You save:  E£1,988
ብር12,262.61
List Price:  ብር17,168.15
You save:  ብር4,905.53
Kz91,256.94
List Price:  Kz127,763.36
You save:  Kz36,506.42
CLP$97,119.28
List Price:  CLP$135,970.88
You save:  CLP$38,851.60
CN¥724.58
List Price:  CN¥1,014.45
You save:  CN¥289.86
RD$6,000.34
List Price:  RD$8,400.72
You save:  RD$2,400.37
DA13,341.73
List Price:  DA18,678.95
You save:  DA5,337.22
FJ$227.04
List Price:  FJ$317.87
You save:  FJ$90.82
Q769.16
List Price:  Q1,076.85
You save:  Q307.69
GY$20,834.51
List Price:  GY$29,169.15
You save:  GY$8,334.63
ISK kr13,772.62
List Price:  ISK kr19,282.22
You save:  ISK kr5,509.60
DH995.44
List Price:  DH1,393.66
You save:  DH398.21
L1,819.82
List Price:  L2,547.83
You save:  L728
ден5,825.40
List Price:  ден8,155.79
You save:  ден2,330.39
MOP$798.74
List Price:  MOP$1,118.27
You save:  MOP$319.52
N$1,801.35
List Price:  N$2,521.97
You save:  N$720.61
C$3,666.61
List Price:  C$5,133.40
You save:  C$1,466.79
रु13,462.23
List Price:  रु18,847.67
You save:  रु5,385.43
S/378.10
List Price:  S/529.35
You save:  S/151.25
K400.90
List Price:  K561.28
You save:  K160.37
SAR375.38
List Price:  SAR525.55
You save:  SAR150.16
ZK2,752.36
List Price:  ZK3,853.42
You save:  ZK1,101.05
L471.69
List Price:  L660.38
You save:  L188.69
Kč2,395.79
List Price:  Kč3,354.20
You save:  Kč958.41
Ft38,840.72
List Price:  Ft54,378.57
You save:  Ft15,537.84
SEK kr1,099.74
List Price:  SEK kr1,539.68
You save:  SEK kr439.94
ARS$100,165.56
List Price:  ARS$140,235.79
You save:  ARS$40,070.23
Bs690.96
List Price:  Bs967.37
You save:  Bs276.41
COP$440,690.82
List Price:  COP$616,984.78
You save:  COP$176,293.95
₡50,645.88
List Price:  ₡70,906.26
You save:  ₡20,260.37
L2,517.41
List Price:  L3,524.47
You save:  L1,007.06
₲775,966.15
List Price:  ₲1,086,383.66
You save:  ₲310,417.50
$U4,274.58
List Price:  $U5,984.58
You save:  $U1,710
zł411.21
List Price:  zł575.71
You save:  zł164.50
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.