What is the Lookup function in Tableau? Tableau Functions

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024
  • #tableau The lookup function is a handy calculation you might use to compare today's metrics with previous months years or even custom offset periods. In this video, I show you how it works as we continue to cover functions.
    Tableau Notes: help.tableau.c...
    Returns the value of the expression in a target row, specified as a relative offset from the current row. Use FIRST() + n and LAST() - n as part of your offset definition for a target relative to the first/last rows in the partition. If offset is omitted, the row to compare to can be set on the field menu. This function returns NULL if the target row cannot be determined. Share feedback and Suggestions: tableautim.can... -
    -
    Join this channel to get access to perks:
    / @tableautim ----------
    (C) 2023 TN-Media LTD. No re-use, unauthorized use, or redistribution, of this video without prior permission.

ความคิดเห็น • 51

  • @I_Follow_Jesus
    @I_Follow_Jesus 2 ปีที่แล้ว +8

    You sir, are awesome. I’ve been using Tableau professionally for about 6 months as a data analyst. Your videos are very informative

    • @TableauTim
      @TableauTim  2 ปีที่แล้ว

      Great to hear and happy to help. Let us know if you don't find something

  • @AliTwaij
    @AliTwaij 18 วันที่ผ่านมา

    Really useful thankyou Tim.

  • @whalemurugun
    @whalemurugun ปีที่แล้ว +2

    Great video Tim.!!

  • @priyashome887
    @priyashome887 ปีที่แล้ว

    Thanks Tim! Learned and learning a lot from you.

  • @MatthewMelville
    @MatthewMelville 3 ปีที่แล้ว

    Thanks Tim, superb explanation!

  • @priyashome887
    @priyashome887 ปีที่แล้ว +1

    Hi Tim, Please reduce the size of your image, it will help us to view the background visuals in clear.

    • @TableauTim
      @TableauTim  ปีที่แล้ว

      This is quite an old video. Check out my more recent videos and I don't think it gets in the way of too much content.

  • @svitlanaalfimenkova6367
    @svitlanaalfimenkova6367 16 วันที่ผ่านมา

    thank you!!!

    • @TableauTim
      @TableauTim  16 วันที่ผ่านมา

      You're welcome!

  • @user-sn5py3vx9k
    @user-sn5py3vx9k ปีที่แล้ว

    You make awesome videos!

  • @vish8191
    @vish8191 3 ปีที่แล้ว

    Superb site !

  • @AliciaMarkoe
    @AliciaMarkoe ปีที่แล้ว

    Awesome! Thank you 🦋

  • @shivkumarpatel7940
    @shivkumarpatel7940 2 ปีที่แล้ว

    love from india ❤

  • @adiabedeen3133
    @adiabedeen3133 3 ปีที่แล้ว

    Thanks man

  • @ravinduabeygunasekara833
    @ravinduabeygunasekara833 ปีที่แล้ว

    Bro I am enjoying your videos and learning a lot! Your videos are crystal clear, what is the camera you use?

    • @TableauTim
      @TableauTim  ปีที่แล้ว +1

      It’s all in the description of the videos but I use an Sony a6600 as a webcam today but I’m this video might have been my
      Phone through an app called CAMO,

  • @rajeshmedisetti6575
    @rajeshmedisetti6575 2 ปีที่แล้ว

    Hi Tim, following you from past 1 year, very informative and helpful.
    I've query on using dimension of text in look up. Eg: lookup(country name,0). But we can't aggregate country field right. What is the best solution for this? Thanks in advance

  • @manikumarjalasutram2479
    @manikumarjalasutram2479 9 หลายเดือนก่อน

    Hey Tim, In Mac We can use Option button to drag the date to get the selection screen right?..Have been learning a lot from your videos ❤..thank you for all the hard work!

    • @TableauTim
      @TableauTim  9 หลายเดือนก่อน

      You can indeed. when i made this video i had switched form my windows PC and annoyingly forgot it.

  • @mayowatayo2848
    @mayowatayo2848 ปีที่แล้ว

    Hello Tim, i find your videos very helpful. I am new to Tableau and i would like to know if there is a function to find out whether there are any increased prices from products over a period of time?

    • @TableauTim
      @TableauTim  ปีที่แล้ว

      No such function that's more of an analytical calculation or LOD (Level of detail calculations). Sits better as part fo the data pipeline.

  • @saurabhbanerjee6368
    @saurabhbanerjee6368 ปีที่แล้ว

    Is there’s a way to use this search all the data from table and find out a matching column

    • @TableauTim
      @TableauTim  ปีที่แล้ว

      No it cant search for columns. it searches for values in tables.

  • @stoneage8810
    @stoneage8810 2 ปีที่แล้ว

    is this doing similar thing as DATEADD ? just lookup needs very specific context

  • @ecehatipoglu209
    @ecehatipoglu209 2 ปีที่แล้ว +1

    I love you

  • @viswanathreddy4970
    @viswanathreddy4970 3 ปีที่แล้ว +2

    Hai gundu boss

  • @ajitkumarsahoo8859
    @ajitkumarsahoo8859 2 ปีที่แล้ว

    Hi Tim, I have a question. If there are working hours and planned hours of 2021 and 2022. Remaining hours = planned hours - working hours. Then How to add total remaining hours of 2021 to every months(2022) planned hours evenly through lookup

    • @TableauTim
      @TableauTim  2 ปีที่แล้ว

      Dont think this question is related to lookups. It sounds like you just described the calculation yourself. If year = 2022 then planned hours + (remaining hours of 2021 / 12) else null end. I wouldnt use a lookup this is just a table calculation.

    • @ajitkumarsahoo8859
      @ajitkumarsahoo8859 2 ปีที่แล้ว

      @@TableauTim
      I want to add the total remaining working hr of a yr(2021) with next yr (2022)evenly distributed with all remaining hr of each month of 2022 and when January 2022 completes if there is some remaining hour left then it should be evenly distribut to upcoming months and so on.

    • @aliahmed1250
      @aliahmed1250 ปีที่แล้ว

      @@ajitkumarsahoo8859 so its been an year, you must have found the solution, whats that

  • @jamesmorell1758
    @jamesmorell1758 2 ปีที่แล้ว

    I am completely confused. How do you know where the 0 is in the parenthetical in relation to the view. And if you were to use negative numbers, such as (-1,0) how do you know where that starts? How do you know when to use positive and negative numbers?

    • @TableauTim
      @TableauTim  2 ปีที่แล้ว

      its always relative tot he starting point of the calculation so a running total always starts from the first record of the data set. A 2 week moving average will start from 2 weeks prior to the current one if you only look back 2 weeks and not 1 week back and 1 week ahead. Just depends on the question your asking.

  • @snakeboy2904
    @snakeboy2904 3 ปีที่แล้ว

    Question. Isn't in this example taking the future value from the offset not the past (ie taking the value for November2020 and placing it in November 2019)?

    • @TableauTim
      @TableauTim  3 ปีที่แล้ว

      have you got a time stamp? I switched the direction of the lookup so you might be right and i might have made a mistake.

    • @snakeboy2904
      @snakeboy2904 3 ปีที่แล้ว

      @@TableauTim 24.59 offset 6 and 25.56 offset 12. If you wanted to lookup a future value (YOY comparison) you would do negative number right? I guess its up to what line you are looking at when comparing past and future(sales line vs lookup demo)

    • @snakeboy2904
      @snakeboy2904 3 ปีที่แล้ว

      I Guess a better way I could explain is that if the offset is a positive number it will bring up a value from the past and compare it with the date you are looking at. If the offset number is a negative, then it will take a future value and compare it to the date you are looking at.

  • @tableaututorialstips71
    @tableaututorialstips71 2 ปีที่แล้ว

    Thanks for sharing this Tim:),I have a question if we have nulls i need to display net available value how can we do this ?

    • @TableauTim
      @TableauTim  2 ปีที่แล้ว +1

      check out my video on the ZN function th-cam.com/video/-etGzF433n8/w-d-xo.html you can use that to replace nulls with zeros and then from there calculate your values

  • @user-mk7ed8ks7r
    @user-mk7ed8ks7r ปีที่แล้ว

    good but cut the length of the video in half

    • @TableauTim
      @TableauTim  ปีที่แล้ว

      30% of people are still watching at the half way mark so i think its good to keep this long.

  • @satyamace
    @satyamace 9 หลายเดือนก่อน

    Awesome. also, your face always comes in between your explanations in the background. Maybe you can place it on the top right.

    • @TableauTim
      @TableauTim  9 หลายเดือนก่อน

      Nah I like it where it is after 490 videos I can confirm it’s in the least annoying place.

  • @kyle.smyle.
    @kyle.smyle. ปีที่แล้ว +1

    Felt like half of this video taught us which way up is and which way down is. Lots of talking with all due respect

    • @TableauTim
      @TableauTim  ปีที่แล้ว

      Hopefully you found it useful. It’s one of my earlier videos when I was still getting the hang of things but as always if if not helping value the feedback and there’s always other creators on TH-cam or maybe a paid course with more structure and editing. Thanks for stopping by. ✌🏾

  • @powerbis.1794
    @powerbis.1794 ปีที่แล้ว

    DAAAAAMN WHATSUP YOYO

    • @TableauTim
      @TableauTim  ปีที่แล้ว +1

      Hey 👋🏾

    • @powerbis.1794
      @powerbis.1794 ปีที่แล้ว

      @@TableauTim calmed cool relaxing explanations)