Tableau Sales Dashboard Tutorial: Year Over Year Comparison

  Рет қаралды 39,070

Anthony Smoak

Anthony Smoak

5 жыл бұрын

In this Tableau data visualization tutorial we'll learn how to "equalize" dates from the data source so year over year analytics can be created. Don't miss out on this tip!
★☆★ Join this channel to get access to perks: ★☆★
/ @anthonysmoak
★☆★ SUBSCRIBE TO ME ON KZbin: ★☆★
Subscribe ► / anthonysmoak
★☆★ FOLLOW ME BELOW: ★☆★
Blog ► anthonysmoak.com/
Twitter ► / anthonysmoak
Facebook ► / anthonybsmoak
Tableau Public ► public.tableau.com/profile/an...

Пікірлер: 50
@thaisonngodang8860
@thaisonngodang8860 3 жыл бұрын
Extremely useful, it took me a few days before seeing this video to figure things out. Appreciate it!
@6toolbaseball
@6toolbaseball 3 жыл бұрын
Loved this one, very practical!
@alpermemioglu7699
@alpermemioglu7699 3 жыл бұрын
This is so incredibly helpful!! You just saved me a lot of time. Thank you!!
@AnthonySmoak
@AnthonySmoak 3 жыл бұрын
Thanks for the kind words!
@rohithreddysureddy9151
@rohithreddysureddy9151 3 жыл бұрын
Extremely helpful.. You always come out with good and useful content.. Thank you.. Looking forward for your LIVE sessions of makeovermoday..
@leticiabenitez9926
@leticiabenitez9926 3 жыл бұрын
Very useful! thanks for sharing your knowledge.
@burrito16
@burrito16 6 ай бұрын
Thank you! It's very helpful
@AnthonySmoak
@AnthonySmoak 3 ай бұрын
Glad to hear that!
@yishaktaye1951
@yishaktaye1951 3 жыл бұрын
Very Helpful....I got a lot of information from this video. Thank You
@AnthonySmoak
@AnthonySmoak 3 жыл бұрын
Thanks for leaving a comment!
@maheshkamble7147
@maheshkamble7147 2 жыл бұрын
This is awesome Anthony! liked it
@tumse_na_hoga2053
@tumse_na_hoga2053 3 жыл бұрын
Anthony this is really helpful
@kinchalsharma3535
@kinchalsharma3535 3 жыл бұрын
Thanks Anthony for sharing
@LaRaina7
@LaRaina7 3 жыл бұрын
Extremely helpful!
@ntorrente
@ntorrente 4 жыл бұрын
Fantastic!! Thank you
@JoseCastro-br6to
@JoseCastro-br6to 4 жыл бұрын
Excellent! THANKS!!! I wish to know how to do this for more than two years, let's say 2017, 2018 and 2019. Is that possible?
@andreanlobo7373
@andreanlobo7373 4 жыл бұрын
Great work.. thnks for the video
@AnthonySmoak
@AnthonySmoak 4 жыл бұрын
I appreciate the comment; thank you!
@yuklanng2720
@yuklanng2720 2 жыл бұрын
Hi Anthony. Thanks so much for your sharing. I have followed all your steps to do the comparative figure for four years sales. However, the line chart cannot be synchronies axis and all lines have been separate to show in different column. Would you please advise how could I fix it? Thank you.
@VeritasConquers
@VeritasConquers 3 жыл бұрын
You could use the LOWER() function to keep the parameter options in title case. Can you advise if the makedate function will work when published to tableau server?
@davewhelton4166
@davewhelton4166 5 жыл бұрын
What about if I had DateCreated consisting of 5 years worth of data. You created a calculated field of MakeDate. How would I use DateCreated to show me the previous year as my Equaliser
@graceding576
@graceding576 3 жыл бұрын
Hi It is really useful . I have one question if I want to compare with last year same week day how to do it ? For example this year Jun 11 is Friday vs. 2020 Jun 12 (Friday)
@shaoboji437
@shaoboji437 4 жыл бұрын
Thanks, very helpful. However, the tooltips of Equalize date is showing 2018 for year 2017, would be perfect if we could fix this. New to Tableau from Power BI.
@rohithreddysureddy9151
@rohithreddysureddy9151 3 жыл бұрын
Hey Anthony.. Please make a video to show Latest year Sales and Sales growth % over last year with a Year,month filters so that users can see the sales and growth only for the selected year,month.. Please show the best approach LOD or SETS ..
@chrislucchesi2782
@chrislucchesi2782 5 жыл бұрын
Thank you, Anthony. I'm new to Tableau. I believe this strategy may not work if there is a leap lear involved. What I think happens is the additional day (2/29) gets added to March. Would you agree? Food for thought.
@AnthonySmoak
@AnthonySmoak 5 жыл бұрын
Good point Chris. I believe a leap year value would return NULL if not compared with other leap years. Thanks for watching.
@andreajohnston9390
@andreajohnston9390 4 жыл бұрын
Very helpful video. Will this approach still work if you change the fiscal year start property on the date field?
@AnthonySmoak
@AnthonySmoak 4 жыл бұрын
That's a good question, try it and let us know! I will say that the TRUNC function respects the fiscal year property. help.tableau.com/current/pro/desktop/en-us/dates_fiscal.htm
@andreajohnston9390
@andreajohnston9390 4 жыл бұрын
@@AnthonySmoak Thank you for the help and the link. After a bit of trying I finally realized as long as you take out the day granularity option the chart will render as desired. Then I just had to leave the relative date filter off since that will not take into consideration the change in fiscal year start. Thank you!
@mkhines
@mkhines 4 жыл бұрын
@@andreajohnston9390 Hey! Can you elaborate a little more on your solution? I too would like to get the axis to display starting with our federal fiscal year (Oct) instead of January and I'm not following the changes you made.
@nidhipatel2474
@nidhipatel2474 3 жыл бұрын
This only works for extract and does not work with tableau server live , what is the alternative for this function? (the makedate function does not work when it is live)
@anantasw9992
@anantasw9992 5 жыл бұрын
where's I can find the dataset? Please attach the dataset
@oping00
@oping00 5 жыл бұрын
Hello when I create the Calculated field DATETRUNC('day',[Date Granulariy Param],[Equalizer Date]) it gives me an error 'DateTrunc is being called with a (string,string,date) did you mean (string,datetime,string). Why am I getting this error and how do I fix it. Thanks.
@benjaminsaladin1345
@benjaminsaladin1345 4 жыл бұрын
Odell Ping You need to use DATETRUNC(‘[Date Gran Param]’,[Equalizer Date]) ;)
@RIVASCOSTA
@RIVASCOSTA 10 күн бұрын
Hi, thank you, I dont have the option "MAKEDATE", do you know if is it normal? If yes, is there any other formula?
@AnthonySmoak
@AnthonySmoak 10 күн бұрын
You must be using a live connection which doesn't accommodate MAKEDATE. Try the solution offered here: or switch to an extract community.tableau.com/s/question/0D54T00000C6mzeSAB/makedate-function-workaround
@sachinmalipatil1790
@sachinmalipatil1790 3 жыл бұрын
can you please provide link for the data.
@pradeeptakumarbarik6286
@pradeeptakumarbarik6286 3 жыл бұрын
Anthony, how to fix a fiscal year with a particular date. Exa- Fiscal year starts from 26th July 2020 to 31st July 2021.We have to fix the quarters as follows & find out the sales for each quarter. Q1 26th Jul 2020 24th Oct 2020 90 Days Q2 25th Oct 2020 23rd Jan 2021 90 days Q3 24th Jan 2021 1st May 2021 97 days Q4 2nd May 2021 31st Jul 2021 90 days Please advice.
@AnthonySmoak
@AnthonySmoak 3 жыл бұрын
Have you looked at the following? help.tableau.com/current/pro/desktop/en-us/dates_fiscal.htm
@shubhankartiwari876
@shubhankartiwari876 4 жыл бұрын
Hi Anthony I am new in tableau area. I have created the same year over year sales trend using sample superstore data set; but what is happening when i am selecting the months from date granual param it is giving me an error like ' argument months to datetrunc must specify a datepart('year', 'month',etc.)' Please guide to resolve this issue
@AnthonySmoak
@AnthonySmoak 4 жыл бұрын
If you created the parameter with the same spelling as in the video, you shouldn't have any issue passing the datepart to datetrunc(). Double check to make sure the spelling of your parameter options are correct.
@shubhankartiwari876
@shubhankartiwari876 4 жыл бұрын
Thanks Anthony you were right i have misspelt the word Month to months that is why it is giving error
@AnthonySmoak
@AnthonySmoak 4 жыл бұрын
@@shubhankartiwari876 Great, glad we solved the problem.
@shubhankartiwari876
@shubhankartiwari876 4 жыл бұрын
Yeah absolutely you are fantastic guru of tableau
@peterferber1527
@peterferber1527 2 жыл бұрын
I am confused about the MakeDate function. When the year is specified as 2018, why are the dates that were originally in 2017 still 2017? The function obviously worked, but I still don't understand the logic of it. Since you've forced a 2018 date, logic dictates to me that all the values should be for for 2018. Instead, it's created a separate line for what's actually 2018. Can someone please explain that for me? Thank you, in advance, for any clarification, and thank you for making this post.
@AnthonySmoak
@AnthonySmoak 2 жыл бұрын
You are correct that we have shifted the 2017 dates to 2018. Since the original (unshifted) order date years are colored by year, this forces the separation into two lines. Hope that helps!
@kevinw8688
@kevinw8688 2 жыл бұрын
So what happened when it got to 2019? Did you have to go in and change your calculated fields that had a hard code of 2018 in there?
@AnthonySmoak
@AnthonySmoak 2 жыл бұрын
Depending upon your use case, you can use a max LOD function in combination with datepart() to find the greatest year in your dataset instead of hard coding. Hardcoding dates was for ease of understanding the concept.
@ishansharma2493
@ishansharma2493 3 жыл бұрын
What if I have 5 or 6 years and want to do the comparison?? Please advise
@AnthonySmoak
@AnthonySmoak 3 жыл бұрын
Have you experimented with some data and run into issues?
Build a Tableau Analysis Dashboard with Parameter Actions
22:45
Anthony Smoak
Рет қаралды 13 М.
Tableau -  compare current year vs previous year trend
12:51
PracticalIT
Рет қаралды 41 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 113 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 32 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 24 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 13 МЛН
#Tableau - How to Compare to Budget & Previous Year
9:13
Andy Kriebel
Рет қаралды 13 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 32 М.
Create a Stunning Advanced Dashboard in Tableau
1:12:10
Anthony Smoak
Рет қаралды 1,8 М.
Calculate Year to Date vs Previous Year to Date in Tableau
10:20
OneNumber - Tableau Experts
Рет қаралды 13 М.
How to Compare Ranks within a Dimension with Set Actions
19:39
Andy Kriebel
Рет қаралды 3,3 М.
Choose a Chart Type with Parameter Actions in Tableau
9:06
Andy Kriebel
Рет қаралды 36 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 113 МЛН