How to Calculate Week over Week Change of the Last Complete Week

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 59

  • @ronenTheBarbarian
    @ronenTheBarbarian 6 лет назад +51

    Great walkthrough! Not many people can pull this off with a 4% battery to start with.

  • @6toolbaseball
    @6toolbaseball 4 года назад +10

    Tableau is a great tool, but the fact that it takes that much work and thought to calculate Latest WOW% to me shows some of its weaknesses.

  • @yishaktaye1951
    @yishaktaye1951 3 года назад +1

    Very Helpful...I can't thank you enough.

  • @debofalode4495
    @debofalode4495 2 года назад

    coming to your vid in 2021..Still useful thanks a lot

  • @diegoz8855
    @diegoz8855 2 года назад

    WOW! I think i will try to apply this to what i need; Day over Day changes. I hope I'm saying that right. I'd like to see the changes of calls made per day.

  • @mattherzog2401
    @mattherzog2401 Год назад

    Very helpful. thanks!

  • @ammirzulhilmi8013
    @ammirzulhilmi8013 3 года назад

    Thank you for the great video!!!

  • @adrianzinovei2390
    @adrianzinovei2390 7 лет назад

    the best Tableau specialist ever! Can we invite you for a training?

  • @luckyupsc1016
    @luckyupsc1016 4 года назад

    Thanq so much .. have a great day

  • @rallapallianilkumar772
    @rallapallianilkumar772 2 года назад

    Great Work

  • @eddyjo3259
    @eddyjo3259 Год назад

    Hi Andy, It will be nice if you'd one day do the same same video with more explanation on the table calc or even a videos on exclusively on table cal ( I specifically mean Edit table calculation).
    Thanks

    • @vizwiz
      @vizwiz  Год назад

      Like this? www.vizwiz.com/2017/02/table-calcs.html

  • @nooruliqbal3131
    @nooruliqbal3131 6 лет назад +1

    I used the same method as Andy suggested for previous week but i am getting a rolling sum value.Like week 1 and week 2 added in week 3 .....Can you help on this

  • @AliTwaij
    @AliTwaij 7 лет назад +1

    Brilliant thankyou

  • @ramyakaree
    @ramyakaree Год назад

    excellent

  • @maggiejiang5657
    @maggiejiang5657 6 лет назад

    Hi thank you for the great video! Do you know how to compare the current week data to the last 4/10 week's average in Tableau?

  • @mariafernandaperezalvarez8343
    @mariafernandaperezalvarez8343 3 года назад

    I want to compare versus the best week, any ideas? I was able to rank the weeks in terms of sales but I don't know how to compare the current week vs the best week

  • @friednoodles
    @friednoodles 4 года назад

    Need some help! I followed the same procedures shown in the video but the moment I shift the Year and Month dimensions to the Details button, the calculated figures from the other months all shown up again. Possible to get some help on this please? Thanks in advance.

  • @subarathna2966
    @subarathna2966 Год назад

    Hi, Thank you for the video :) Its working till the last step like adding 'latest week' to filter pane and selecting True. When I tried removing Year and week number from Rows to Details pane, it is giving all values instead of maintaining last row. Can you please let me know how to resolve it? I followed all the steps from the video. Thanks in advance!

    • @vizwiz
      @vizwiz  Год назад

      I hate to say it…but, you must have missed a step along the way. I went through the steps again myself and they worked.

  • @thejag144
    @thejag144 Год назад

    Hi Andy - Thanks for this Great video. Can you please help with the logic to calculate day over day sales values like i want to see( Todays sales, Yesterdays sales, difference of Todays - Yesterday sales and difference in percentage of Todays - Yesterday sales? It will be very help full if you help with this logic in calculated field. Thanks in advance!.

    • @vizwiz
      @vizwiz  Год назад

      It should be the same process as this video except using days instead of weeks. I'll create a video either way. Hopefully next week.

    • @thejag144
      @thejag144 Год назад

      @@vizwiz Thanks, Andy. I would be very grateful if you could create a video on this.

  • @gvaabaseball9024
    @gvaabaseball9024 7 лет назад

    Excellent. Works perfectly for what I am doing. The only thing I can't figure out, is how to 2 step the text color (red/green for negative/positive percentages respectively). If you have any advice, it would be greatly appreciated. If I add latest_wow_% to colors, and try to select stepped color, the start and end values are NULL and I am unable to modify them.

  • @harshilbhatt2123
    @harshilbhatt2123 4 года назад

    please help... i spend nearly one hour trying to figure out the solution ... After following the tutorial I am trying to add a filter for the last order week into filters so users can pick and choose the filter. As soon as I add a filter, the values are disappearing

  • @AbhishekKG-cp6gf
    @AbhishekKG-cp6gf Год назад

    How can we do this if we have multiple KPIs, is it necessary we have to repeat the process for sales, profit, loss etc???? Or is there short cut for that

    • @vizwiz
      @vizwiz  Год назад

      Yes, you have to repeat it.

    • @AbhishekKG-cp6gf
      @AbhishekKG-cp6gf Год назад

      @@vizwiz Thank you, its a great video

  • @chuka2005
    @chuka2005 3 года назад +1

    Why would another week other than week 53 for 2013 be blank? Week 53 of 2012 is done, so why is it blank?

    • @vizwiz
      @vizwiz  3 года назад

      Maybe there were no sales that week.

    • @chuka2005
      @chuka2005 3 года назад

      @@vizwiz but I thought the goal of that formula was to ensure that the calculation only applied to weeks that had been completed in the calendar year in question, as in yes we wouldn't want to calculate WoW difference for a week that wasn't over yet ... the only week not over yet is the one we are currently in, and as such it should only apply to the most recent week; would you agree? If so I'd love to get your thoughts; I did that same formula and see a lot of weeks with blanks.

  • @loomdoby
    @loomdoby 4 года назад

    Can I enter the week myself i.e. Week 2 to week 3 and week 1 to week2

  • @igorgolubochanski5485
    @igorgolubochanski5485 Год назад

    Hi , I did the same but without using Window_MAX - why do you need this ? Thanks!

    • @vizwiz
      @vizwiz  Год назад

      Which part?

    • @igorgolubochanski5485
      @igorgolubochanski5485 Год назад

      @@vizwiz Hi , the calculation of "Completed Week Sales"

    • @vizwiz
      @vizwiz  Год назад

      @@igorgolubochanski5485 What was your calculation?

  • @johnslait4531
    @johnslait4531 2 года назад

    Why when i create Laters WOW% appers an error as syntax error( maybe you are missing an operator). But i apply the same steps.

    • @vizwiz
      @vizwiz  2 года назад +1

      That error means that you are missing a parentheses or something like that. Double check. If you did it exactly like it did, then you won’t get that error.

  • @rallapallianilkumar772
    @rallapallianilkumar772 2 года назад

    Hi Can you please help me to find Last 3 days sales for every month dynamically

    • @vizwiz
      @vizwiz  2 года назад

      Find the max date for each month with an LOD. The a datediff function to get the latest 3 days.

  • @joannazablocka1693
    @joannazablocka1693 5 лет назад

    Is it me or the assumpion of max(datepart('weekday', [Order Date])=7) is incorect? Due to my knowledge it means, that within the week one specified day of week occurs (this weekday maybe e.g. Saturday or Sunday, the seventh day of week, depends on local settings) but it does not cover the need to take into consideration "full" week - the seven day period. I would appreciate if someone could answer that, thank you and regards

    • @harshilbhatt2123
      @harshilbhatt2123 4 года назад

      you can set it on end date of week on datasource level
      Steps:
      1. Right click on the Data Source.
      2. Navigate to Date Properties
      3. Here you can change Week Start day, Fiscal year start and date format.

  • @diannegillam8788
    @diannegillam8788 11 месяцев назад

    Hi, just struggling to do this by month. If i wanted to do this by month is it the same concept?

    • @vizwiz
      @vizwiz  11 месяцев назад +1

      Should be pretty similar. Replace week with month in the calculations. This might help too. www.vizwiz.com/2017/03/latest-previous-prior.html

    • @diannegillam8788
      @diannegillam8788 11 месяцев назад

      @@vizwiz Thank you. I think I got it working. I am trying to use the same concept but to work out average days, but I seem to be getting blanks in some completed weeks. my first calculation was to work out the Avg days between by using this calculation
      1. AVG(DATEDIFF('day',[CreatedDate],[Start_Time__c]))
      Then I added this calculation to work out my completed weeks by doing this
      2. IF WINDOW_MAX(MAX(DATEPART('weekday', [CreatedDate])))= 7
      THEN WINDOW_AVG([Avg Days to complete an Inspection])
      END
      When I put the completed week into the table I get missing weeks eg:
      Week 21 - Comp Wk 213.9
      Week 22 Comp Wk ( Blank)
      Week 23 210.8
      I cant seem to troubleshoot it.
      If you can help that would be great

  • @My-ToolKit
    @My-ToolKit 6 лет назад +1

    Please explain clearly, what is the logic behind this calculation

  • @changalbert
    @changalbert 8 лет назад

    Can you explain why with the LAST () = 1, the calculated fields still work, but if you were to filter to just that week, they wouldn't?

    • @vizwiz
      @vizwiz  8 лет назад +2

      Last() is a table calculation which happens against the data that's already in the view. Filtering by Week is part of the query that's sent to the database so the results that come back into Tableau would not include those weeks.

    • @changalbert
      @changalbert 8 лет назад +1

      ok thanks for the explanation. That was helpful

  • @changalbert
    @changalbert 8 лет назад

    How would you do this if you wanted to calculate 13 weeks by 13 weeks change? I can't get lookup() to sum multiple rows.

    • @vizwiz
      @vizwiz  8 лет назад +1

      The trick is to figure out how to calculate the 13 weeks. Does it need to be a rolling 13 weeks? Or will you only display every 13th week? Can you post a link to a workbook?

    • @changalbert
      @changalbert 8 лет назад

      Hey sorry about the delay. I figured it out just using Window_Sum

  • @nunotechno29
    @nunotechno29 Год назад

    sir how if i want to compare uncomplete day in one week, let's 5 days current week to 5 day previous week. Thx

    • @vizwiz
      @vizwiz  Год назад

      I don’t not understand your question. Can you make it clearer?

    • @blissfulspirit0
      @blissfulspirit0 Год назад

      @@vizwiz I had a similar question: As I get more and more data during the current week , how do I compare data of this week (Mon - Wed) to data from last week ( Mon- Wed) rather than comparing it to (Mon - Sun). Hope this helps Andy!!

  • @DebasmitaDasgupta1
    @DebasmitaDasgupta1 3 года назад

    I want to calculate the WoW views of articles and want to see if they are increased/decreased. Can anybody help? For example for 4/1/21 the view is 23 and for 11/1/21 the view is 25 for the same article. Like that i have 10k articles week wise

    • @vizwiz
      @vizwiz  3 года назад

      Isn't that exactly what this tip covers?

  • @chandanakollu1664
    @chandanakollu1664 6 лет назад

    I really didn't understand the last steps last week ..Iam confused totally

  • @rithvikkjohn6149
    @rithvikkjohn6149 7 лет назад +1

    Hi Andy ,
    I just wanted to ask one question could you please tell me.
    Jan feb March April
    81 105 79 70
    How should I do difference between Jan value and feb value where Jan and feb are not diff columns.
    They are under one column.
    Could you please tell me
    Thankyou