You've heard a lot in this specialization about how the future of business lies in data and the people who analyze it. You're probably taking this course because you've heard similar things and are interested in figuring out how to get in on the fun. Now if companies need more and more data analysts and data scientists, you might expect that salaries for these positions are increasing along with the need. And if that's the case, you might guess for yourself that if you enter the field now, the salary you can expect later will only be increasing in proportion to the number of years of experience you have. In this video, we're gonna start to explore whether that would be the case. Go ahead and open your Tableau Workbook and open up a new worksheet. Now, I'd like to start by looking how salaries across our entire data set have changed over time. So, to do that, let's put paid wage per year in rows again, and let's take Case Received Date as our date that we're gonna explore. And we're gonna start by looking in this just by year, even though we actually have the actual date in our data set that every single application was received. So if we just drag this over to columns and see immediately that Tableau makes a line chart. And let's start by just focusing on the data itself. We look at this line chart, down here on the x axis is time, and here is paid wage per year. So it looks like indeed there was a dip after 2008, which probably correlated with the recession in 2008. And maybe all the jobs we're looking at in this data set are going up slowly, but they seem to have not quite made it back where they were before 2008. So we'll think about this later and come back to it. Now that we've looked at the data, I want to point out to you a couple of things about Tableau specifically. The first thing I want to show you is if you go up to the column shelf you'll see that year is blue, the fill for year is blue. Now that fact that year fill is blue means that Tableau is treating it as dimensional or categorical. That means Tableau is treating each year as its own independent data point that are not connected. The next thing I want you to notice is this little plus sign here next to the year title. You normally don't see those in pills so let's go ahead and press it and see what happens. If you press it once and you look at the x axis now, you'll see that Tableau is showing you quarters as opposed to years. If you press it again, it's now showing you months. Sometimes you might be missing a month, so Tableau will leave that month out of the data, for example, here in quarter two of 2009. So Tableau is making these lines within each of these subsets but it's not connecting the lines between them. Why is that? That's because Tableau automatically treats dates like hierarchies. The default is that Tableau will automatically put dates into hierarchies defined by year at the top, quarter is next, month, and then sometimes week and day. In this default, year will always be the highest point in the hierarchy, which means it treats each year as independent, it won't connect the lines in the graph. If you do wanna point out, you can change these defaults and make your own custom hierarchy too, like if you wanted to plot data on a bi-weekly or bi-monthly basis for example. But for now, we're going to go ahead and use the defaults. And let's go back to looking at the data, the quarter outlook. Now I do want to take one brief pause here to point out, because we probably won't come back to hierarchies again in the course, you can make any kind of hierarchy and Tableau makes some ones for you automatically and you can make your own. So for example, if you go over to our variable panel over here, you'll see that Tableau made this hierarchy with our country of citizenship, work state and work city. This little icon over here means that it's made into the hierarchy. Now it actually did this incorrectly. It was smart, it was good idea but it was incorrect because Country of Citizenship in our data set actually refers to the applicant, whereas Work State and Work City refers to the actual job itself. So we don't want actually to group these things. And we can ungroup them simply by clicking on the dropdown and saying Remove Hierarchy, so now it takes everything out of the hierarchy. It's very easy to make your own hierarchies that have that same capability of drilling down like you saw over here when we were looking at the dates. And to make your own hierarchies, you just drag one variable in another. For example, if we wanted to make a hierarchy with Work Postal Code within Work Postal State, we would simply take Work Postal Code and we would drag it into Work Postal State, and that will make a hierarchy with Work State and Work Postal Code. And we don't need to use that variable right now for this analysis, but I did feel obligated to show you that you could do this in Tableau in case you need it for your own analyses. Okay let's go back to our question about whether the salary is changing over time Now sometimes, it can be useful to treat date as a dimension, or as categorical variable. But in our case this time, it makes more sense to treat it as a measure because we know time doesn't actually stop in between years, it keeps going. So it makes more sense to make a graph that connects all of our dates together. So to do that we need to change our date field into a measure. Now I've talked about a couple of ways to do that already via our variable pane over here. But I'm gonna show you a different way to do it this time. So let's go back to year, make it a little bit easier. If you click on the drop down, this is a little confusing, I don't know why they don't put labels on this. But you'll see that there are two different places where Tableau refers to the year, or refers to the part of the hierarchy in the date. This first block actually refers to all the instances when Tableau treats the date as a dimension. The second block here refers to all the times when Tableau treats the date as a measure. So if you simply click on Year down here in this block as opposed to this block, you'll see now the pill color has changed to green and it's treating it as a measure. So it still has this plus button. If you press it, you'll see that it is still breaking up the data into different parts of the hierarchy. But now it's connecting the lines instead of treating them all as completely independent, so you can keep drilling down to different levels of detail. Here's month, and here is week. And for some reason it's a little bit harder to go back up a hierarchy when you treat it as a measure in Tableau. I think it's just a programming weirdness. So the easiest way to do it is to go back up via this drop-down. So I should say the reason this is so jagged is because we don't always have a lot of data for each one of these data points, so the data's pretty noisy. So far analysis purposes, we should go back to a level of detail that we feel a little bit more confident has more data. So either quarter or a year. So let's start by going to quarter, and I just want you to notice something. So if we look at the data at the level of quarter here, you might have a different interpretation than if you look at the data at the level of year. When we look at the level of year it makes it look like salaries are pretty high, they dipped down after the recession and they haven't really made it back up, and in fact they might be having some trouble here in 2015. But if you look at it at the level of quarter you see that actually there is some kind of weird spike in salaries, maybe there are some outliers or something. But there is some type of weird spike in one quarter in 2008, but actually the salaries are pretty close to what they are now. And if anything, it looks like maybe salaries are on the rise. So this is a good example of where you have to make a decision about how you're going to look at your data, and your decision can impact your interpretation. Right now I would say let's go ahead and look at our data at the level of a year just to make it easier but we may want to go back and forth and look at it at the level of quarter and year at different times of the analysis to determine which one gives us the best picture of what's really going on. Well done. Now that you understand how dates work in Tableau and the consequences of treating a day as either a dimension or a measure, we are ready to answer our data analysis question of whether data sellers are changing over time. That's what we'll do in the next video.