Calculate Month to Date vs Prior Year Month to Date in Tableau

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Connect with us:
    •Upcoming Tableau Classes: www.eventbrite...
    •Book an Office Hour with Eric: www.eventbrite...
    •Subscribe to the OneNumber Newsletter: onenumber.biz/...
    •Follow Eric on LinkedIn: / eric-parker-37513249
    Video Description
    How are things performing at your organization this month? How does that compare to the past? What if the best historical comparison isn't last month, but this month last year?
    If you want to use Tableau to compare month to date performance for this month to the same month last year, you can! However, it's going to require a few custom calculations to get there.
    Check out this video to learn how you can write the formulas you need to compare month to date year over year!
    Related Resources
    Tableau Public Example Workbook: public.tableau...
    Full formulas can be found in blog post here: onenumber.biz/...
    Month to Date vs. Previous Month to Date Video: • Calculate Month to Dat...
    Month to Date vs. Previous Month to Date Blog Post: onenumber.biz/...

КОМЕНТАРІ • 15

  • @onenumbertableau
    @onenumbertableau  Рік тому

    Need help writing your month to date calcs? Schedule an hour with Eric here: www.eventbrite.com/e/tableau-office-hours-with-eric-parker-tickets-42691995909
    Ready to master Tableau? Check out our lineup of upcoming classes! www.eventbrite.com/o/onenumber-15678294163

  • @jacquelinegannon8037
    @jacquelinegannon8037 3 місяці тому +1

    this was exactly what I was looking for, thank you for how nicely you broke it down!

    • @onenumbertableau
      @onenumbertableau  3 місяці тому

      You are very welcome Jacqueline, thanks for taking the time to let us know it helped!

  • @elwyndude
    @elwyndude 20 днів тому +1

    Im looking for an example that shows only the months for this current year, but beside them the Difference or Pct Difference when compared to the previous year for that same month. I can do this if all years are shown, using LOOKUP, but I need to only show current year.

    • @onenumbertableau
      @onenumbertableau  18 днів тому

      Hi! This isn't exactly what you asked for but the concepts in this post are similar to what you're asking for. I hope it helps point you in the right direction! Let me know if you have more questions. onenumber.biz/blog-1/2021/6/9/month-to-date-sales-compared-to-last-12-months-in-tableau

  • @oregonfelder1
    @oregonfelder1 Рік тому +1

    I appreciate these shorts. I’m new to the channel and I’m sorry if you’ve already covered this, but I’m trying to set something like this up to compare either Current Week vs py, MTD vs. py, latest complete month vs py, and latest complete quarter vs py…all in a parameter so that. Kind of an interesting use case scenario.

    • @onenumbertableau
      @onenumbertableau  Рік тому +1

      Hi Logan, thanks for following along! Here are a few resources which might help. Custom Date Filter with Parameter: ua-cam.com/video/PM0O3uVJ-Bw/v-deo.html . Selected vs. Comparison Date Filer: ua-cam.com/video/l2EYtIXhm9M/v-deo.html&ab_channel=OneNumber-TableauTutorials . And then you should be able to search out channel videos for all the individual date selections (month, week, quarter, etc.)

  • @joegenshlea4605
    @joegenshlea4605 7 місяців тому +1

    Do you have a video that does this same thing but not in an deterministic way? Meaning, Oct 2020 MTD would compare to Oct 2019, Sept 2020 to Sept 2019 and so on? The method you show is helpful but only works for the current month.

    • @onenumbertableau
      @onenumbertableau  7 місяців тому

      Hi Joe, we do! You are looking for the LOOKUP function. Here's a blog post showing how to do comparisons for quarters. For months, just change the reference from -4 to -12. onenumber.biz/blog-1/2017/10/9/comparing-year-over-year-in-tableau

  • @sebastianreymundez7509
    @sebastianreymundez7509 Рік тому +1

    Excellent! thanks for your help.
    Greetings from Uruguay

    • @onenumbertableau
      @onenumbertableau  Рік тому +1

      You are most welcome, thanks for letting us know it helped!

  • @WeekendSlots-kg6hb
    @WeekendSlots-kg6hb Рік тому

    Thank you so much!! You have made my current project at work so much easier with this video

  • @MohammedImran-oo7ib
    @MohammedImran-oo7ib 3 місяці тому

    Hi, liked the video. Can you please help me in calculating YTD, QTD and MTD for the historical data. I mean I have a dataset with years 2019 till 2023 and I have to calculated YTD, QTD and MTD. So in this case I can not use today() function. I have tried other options but it is not giving me the result. Appreciate your help.

    • @onenumbertableau
      @onenumbertableau  3 місяці тому

      Hi Mohammed, maybe using {MAX([Date Field])} instead of TODAY() will help. Check out this video for more details: ua-cam.com/video/1MjfxmmPNBk/v-deo.html&ab_channel=OneNumber-TableauExperts