Tableau - Drill Down And Hirearchies

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi in this video we'll see how to work with drill down and hierarchies so I've created a file that is a blue worksheet the workbook that is built down in hierarchies and the data source which I'm using is nothing but orders sheet from global data source 2016 now what exactly is drill down in hierarchies suppose if I want to create a hierarchy of let's say city state or country I can create one here our key if I want to create a hierarchy of you can see as they month quarter and years I can create another hierarchy so if I want I can keep on creating multiple hierarchies I can keep on expanding at this place I'll explain you better with help of this example now for example if I pick up here from this place I want to see the sales done by the category so I'll pick up the sales here in the in the columns field and rows I'll put the category wise now if I want to see the sales done by these subcategory wise again what I can do is I can just pick up this option from here that is subcategory and I will drop it in this place so if you see furniture has multiple sub categories which are given here as bookcases chairs and furnitures so every time if I want to see the category wise sales I have to drag and drop it here every time if I want to see the subcategory wise sales I have to pick up and drop it here now what I'll do is I'll try to combine this subcategory and category into one place that is nothing but I here keep Lea here our key thing so how do I create a hierarchy here is I just need to select this subcategory and I have to leave it on the place where it belongs to so I'll just drag it and take it on the top okay and I'll just drop it on this category part if you see that's the category now it's a plus sign the moment I click on this plus sign it says if you want to create a hierarchy give the name of the hierarchy so I'll give the name as products so I'll type here as products and observe here there is no plus sign at this place once I create a hierarchy so I'll type as products and if I click on OK here there will be a plus sign ok if you see there's a plus and minus sign which has come because it is already expanded now what is the beauty of this creating hierarchies it can be drill down to the lowest level so if I click on this minus sign and if you see I can see the sales done by the category wise if I click on this maximize button I can see the sales done by subcategory wise if you still want you can just remove this category and throw it outside so you can see now based on subcategory you can see the sales which are given here okay so the more you keep on creating categories the more you can drill down basically drilling down is nothing but you can just keep on expanding the pills which are given here these are pills this is a pills which is given here so if I want to add one more field if I want to add one more field to this products hierarchy I just need to simply drag and drop it you see where is the place you want to drop it you can select here so I'll just again drag and drop it here okay now if you observe here now if you observe here category subcategory and the product name now there are three things which will come in that hierarchy if you observe if I click on this plus sign subcategory I'm getting a product name because after subcategory I have a product name which is given here okay if you want you can remove this subcategory and throw it outside now you're getting a sales based on this product name okay so the best one is you can just drag down you simply pick up the products if you want the entire one and drop it here now the category and the third one second one is subcategory and the third one is product so based on this hierarchy wise you can drill down if you think you want to just change the order you can just pick up this product name and you can drop it before this category okay and if you observe here if I just click on this minus sign yeah now if I click on this product name it comes category again if I click on this category it comes as subcategory so all these options are given here so this is what we have defined the category wise and we are drilling down there are some categories which are auto defined so for example I will show you with help of example that is date categories yeah so here it is if you see here there's nothing but given as order date there's the order date I'll just pick up and drop it in the columns and second one I'll pick up the sales and put in these rows now I want to see sales done based on the time line or I can say is based on the days ones quarters and years here if you see there's a plus sign I can expand this pill here so if I click on this plus sign okay I am getting the quarters part but if you observe there is no quarters there is no years there's only one thing that is order state and there's a call you can see the calendar icon the data type is nothing but the date icon which is given here date a data type now here if you see I'm getting 2012 based on the quarters 2013 based on the quarters and so on so if you if I still want to expand I can just expand this quarters and I will be getting as months so 2012 q1 which is February 2012 q2 which is the other month that is May August and so on okay again if you expand you will be getting as day wise order where it can be used suppose if your manager of a company and if you want to see the day wise sales or the month wise sales you can just use this option that is drilling down I can just minimize minimize again and minimize this one right so this is what you call as discrete I'm getting the discrete data field the sales which are given here now see for suppose if I do not want the discrete I want the continuous data which is given here so I can just click on this drop down okay and this stands for the discrete and this stands for the continuous so now I'll select this as here from here at this place so you see the color also has changed early it was blue color now it has become as green color so if I click on expand I will not get the another pill I will get the same pill the only thing is 2012 the year is also coming here and the quarter is also visible so if you see that's a quarter white sales which are given if I expand this one I'll be getting as month wise sales so as a manager again has said as a team leader you can find out which year which month the sales was highest which here which month the sales was lowest and if you want you can scroll down on the right hand side and you can find out again if I click on this plus sign it says week which week of which year and which month the sales was highest so here if you see I can just figure out I can just keep my cursor here and it says week of order date that is 15th November 2015 the sales were done so and so thing if I want to find out the lowest sales for example the lowest sales is I think this one so I'll just keep my cursor it says week of order date first July 2012 okay that is how it is given so if you click on this plus sign again these are the device which month is the highest you can say the seeds so you can just keep your cursor since day of order day that is 7 September so this way you can just keep on drilling down if you do not want the same pattern if you want the previous one which you are happy with you can just click on this drop down from this you can pick up the continuous date fields from this you can pick up the discrete date fields so I will pick up as the discrete date fields now this one is a discrete field and I will keep on getting separate bins for each one so for years I'll get separate for quarters I will get separate but whereas when it is a continuous date field I cannot get these separate bins for that so I will get a same pill which will keep on expanding itself right so I hope you able to understand how we can work with the drill down and creating hierarchies and the last thing I'll show you how to remove the hierarchies you can just select this hierarchy and you can just click on this drop-down and you can select the option as remove hierarchy ok and the hierarchy will go away ok and you can also not see that the expand and minimize the hierarchy or cancers the pills option here right so I hope you able to understand how do we work with the drill down and hierarchies that's all for this video
Info
Channel: Tutorials Point (India) Ltd.
Views: 181,487
Rating: 4.8943663 out of 5
Keywords: Tableau - Drill Down And Hirearchies, Tableau, Drill Down, Hirearchies
Id: RI-7ebWp9kE
Channel Id: undefined
Length: 7min 40sec (460 seconds)
Published: Tue Jan 23 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.