Learn Tableau Basic Calculations (Calculated Fields) in Tableau (with 10+ examples) | Part 1

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • #tableau #analytics #calculation
    Practice Questions and other digital products
    sqlbelle.gumroad.com
    Calculations (Calculated Fields) in Tableau?
    If you're new to Tableau and want to learn calculations (calculated fields), or if you've been using Tableau for a while and want a refresher (or a fresh look/take on calculations), this video is for you.
    Starter Workbook: public.tableau.com/app/profil...
    Timecodes
    0:00 - Intro
    0:32 - What are calculations (or calculated fields)?
    1:10 - Tableau's three (3) main types of calculated fields
    1:47 - How do we find calculated fields?
    2:05 - What makes up a calculated field?
    4:00 - Word of caution about Tableau Functions
    6:15 - Basic Calculation - Row-Level
    6:31 - Row Example #1 - Transform/Split String
    7:34 - Row Example #2 - String concatenation
    9:19 - Row Example #3 - CONTAINS string function
    10:38 - Row Example #4 - IF/ELSE statement (row-level)
    12:13 - Row Example #5 - MAKEDATE
    13:39 - Row Example #6 - DATEPARSE
    15:35 - Row Example #7 - DATEDIFF
    16:44 - Basic Calculation - Aggregate
    17:18 - Aggregate Example #1 - Simple Aggregate (default)
    18:13 - Aggregate Example #2 - COUNTD for unique values
    18:52 - AGG in your pill
    19:28 - Aggregate Example #3 - COUNTD with embedded expression
    20:32 - Aggregate Example #4 - Profit Ratio and the importance of order of operations
    This video provides a gentle but solid introduction to calculations (or calculated fields) in Tableau. We will cover what calculations are, how to find them, how to create them, different types of calculations, some common issues/errors/things to note. There are over 10 detailed and clear walk throughs to ensure you have a good grasp and foundation after you watch the video.
    This video focuses on the first type of calculation: basic calculations - both row-based and aggregate calculations. Other types of calculations are covered in the next videos in this series.
    Tableau Calculations Series in sqlbelle channel:
    Part 1 - Basic and Aggregate Calculations
    • Learn Tableau Basic Ca...
    Part 2 - Level of Detail Expressions - FIXED, INCLUDE, EXCLUDE - Complete Tutorial
    • Tableau LOD (Level of ...
    Part 3 - Table Calculations
    • Tableau Table Calculat...
    Related Videos:
    10 Tableau tricks you should know
    • 10 Tableau tricks you ...
    Images courtesy of Pexels

КОМЕНТАРІ • 245

  • @srv14evr
    @srv14evr 3 роки тому +32

    I've gone through several videos on this topic already. Your video is the absolute best video on this topic! Very well put together....very easy to follow....therefore, easy to learn.

    • @sqlbelle
      @sqlbelle  3 роки тому +3

      Thank you so much for your feedback Trey, very much appreciated!

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

      @@sqlbelle Could not agree more - this is by far the best Tableau calculation video.

  • @ntorrente
    @ntorrente 3 роки тому +10

    The most comprehensive Tableau Calculated Field Intro ever! Thank you Donabel!

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Narciso! I am glad you found the video useful! 😀

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

    Read a book and did some Tableau stuff but kept a full understanding of calculations till now and you really nailed it! Your presentations and examples makes it stick.

  • @aakashjaiswal2003
    @aakashjaiswal2003 2 роки тому +4

    I really like the way you explained the difference between row level and aggregate level calculation. It was really very useful.

  • @ben-cb5er
    @ben-cb5er 2 роки тому +8

    omg!!! I hope everyone reads this....I've bought many Udemy courses, as well as tableau official course! this video by far is the best and easiest to understand. Thank you for making this video and part 2, part 3 =) tableau goddess!! valuable content thank you again

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Ben, I very much appreciate your comment.

  • @equiwave80
    @equiwave80 2 роки тому

    Hi Donabel,
    I really liked the final part where you clearly mentioned the difference between the Row-Level and Aggregate calculations
    Row Level Cal: DIVIDE FIRST, THEN SUM
    Aggregate Cal: SUM FIRST, THEN DIVIDE
    Thanks for this excellent refresher.
    It was very useful for me as I will now be able to better understand how basic calculations work in Tableau.

  • @manishagrawal417
    @manishagrawal417 Рік тому +2

    I don´t have words to express how I felt. Let´s just say beyond AMAZING. I never felt bored for a sec or thought when the vid is going to end or how much time is left. You just hooked me in. You were spot on, each second of the video was imp, this was literally 2 hours squeezed into 20 mins without any fatigue and all the details were captured. Just amazing

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

      Hello Manish, I really appreciate your note and feedback. Thank you for taking the time to share with me - it means a lot. I hope you find other videos in the channel helpful as well. Thank you again!

  • @viviensong3782
    @viviensong3782 Рік тому +2

    Your tutorials are so much more indepth than paid Tableau courses! tysm!

  • @pramodhanmi
    @pramodhanmi 2 роки тому +2

    Relieved of 3 years of frustration. Very comprehensive yet crisp video. Highly recommended for strong foundation. 👍👍

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you for your kind feedback Pramod!

  • @Yogesh010Mishra
    @Yogesh010Mishra 11 місяців тому

    Your videos are TO THE POINT and very very helpful. Thank you belle!

  • @pixelswalashorts
    @pixelswalashorts 6 місяців тому

    You are the best teacher i have found on the internet, thank you for your efforts.

  • @neronova1176
    @neronova1176 9 місяців тому

    By far, for me, you gave the best explanation for calculations, which helped me understand what Tableau was doing. Thanks, this helped me a lot.

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

    Calculations in Tableau have always been a bit of a mystery to me. Thank you for demystifying this important topic!

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

    Wow! I feel so motivated after watching your tutorials. Thank you

  • @stephenboyd2579
    @stephenboyd2579 3 роки тому +3

    These videos are so helpful in my Tableau journey! Thank you so much, your teaching and explanations of concepts is very easy to grasp, understand and retain.

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      So glad to hear, thank you so much for sharing Stephen! :)

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

    Well explained, you are a natural at this, just saved me some time trying to translate some formulas from Salesforce to Tableau

  • @rohitpawar9198
    @rohitpawar9198 2 роки тому +1

    The best video ever on tableau calculations. Even the online courses I purchased missed many key points and you covered it all in just 23 min.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Rohit!

  • @Carol-cb5yd
    @Carol-cb5yd 3 роки тому +1

    This is the best content among videos I have been gone through. Thank you so much! Keep up your good work, please.

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you for your kind comment, Carol! Appreciate it!

  • @gonzalofuste
    @gonzalofuste 3 роки тому +1

    @sqlbelle I really like the way you explain tableau very easily; you also have a very nice and clear voice that helps a lot. Thank you very much for these videos !

    • @sqlbelle
      @sqlbelle  3 роки тому +2

      Thank you so much for your comment, GonzaloFuste ! Hope you found them helpful 🙂

  • @MrStark-zy6cd
    @MrStark-zy6cd 2 роки тому +1

    I have been using tableau for a couple of years, but I have learned alot of new stuff, thank you 👍🏼

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Glad to hear, thank you Mr Stark!

  • @sarahjanepena8027
    @sarahjanepena8027 2 роки тому +2

    This channel is a gem for me! It helps me to easily understand Tableau esp. that I'm a beginner. More blessings to you, Ms. Belle :)

    • @sqlbelle
      @sqlbelle  2 роки тому +2

      Thank you Sarah for your very nice comment and wishes. Thank you :) :) :)

  • @krishnay.233
    @krishnay.233 11 місяців тому

    Thanks for putting this on UA-cam. More power to you.

  • @jowiekid
    @jowiekid 3 роки тому +1

    Out of the tableau tutorials I have tried out so far, this is the most helpful one. Progression was well laid out, pacing was just right, extremely useful tips and examples and lastly, it was very easy to follow. Thanks for this content! Subscribed.

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Jowie for your kind comment, and thank you for sharing your thoughts. I am happy you found this video helpful :) .. Hope you will find the other ones in the channel helpful as well.

    • @innovativeiinnovativei
      @innovativeiinnovativei 2 роки тому

      Hi, could you please share the data source which is used in video.

  • @0nicks
    @0nicks Рік тому

    this is the best channel to learn Tableau from a fresher's perspective. easy to understand. Thank you @sqlbelle for sharing tableau tutorial :)

  • @MuhammadRizwan-vn6pz
    @MuhammadRizwan-vn6pz 2 роки тому

    Excellent , Your video is the best of all that i watched on youtube on this topic
    Thanks.

  • @boGodhuan
    @boGodhuan 2 роки тому +1

    This is so amazing! Thank you! Your video is so helpful for newbies like me! You are like a fairy🧚🧚‍♂️, make complicated things so simple and easy to understand!

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Happy Cat :)

  • @shefalichand7177
    @shefalichand7177 3 роки тому +2

    You are absolutely the best ! Huge respect 👏👏

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Shefali!

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

    very detailed and hats off to the explaination

  • @akuasoftlife
    @akuasoftlife Рік тому +5

    Hi, thanks a lot for your good tutorials, I really enjoyed them. However since you were using a different data source, I thought you would give us the link to download it so we can follow you in the practical work. I am using the Tableau data source, but I am unable to follow some of the examples you demonstrate in calculating the data fields.

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

    superlative explanation. Thanks for sharing your knowledge..

  • @yolindaburns3447
    @yolindaburns3447 3 роки тому +1

    Love this video! clean and easy to follow!

    • @sqlbelle
      @sqlbelle  3 роки тому

      Hi Yolinda,
      Thank you so much for your note! I am happy you found the video useful and easy to follow!
      Much appreciated,
      Donabel

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

    Excellent tutorial!…🙏🙏🙏

  • @ridhihingu232
    @ridhihingu232 2 роки тому +1

    I thank god that i came across your videos. You are a great teacher.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Ridhi!

  • @damonreyes8719
    @damonreyes8719 2 роки тому +1

    I'm going to watch all your videos right away

    • @sqlbelle
      @sqlbelle  2 роки тому +2

      Thank you Damon!

  • @oludipe737
    @oludipe737 2 роки тому +1

    There are not so many good teachers out there. Thanks for all you do in your Videos.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you for your kind note, Oludipe!

  • @megaankitshrivastava
    @megaankitshrivastava 2 роки тому +1

    Hey. Your video is amazing. It will great if you make whole series of tableau video from beginning to advance . So that those who want to learn whole tableau can go through. They way of teaching is amazing.

  • @sandeepsandy6190
    @sandeepsandy6190 2 роки тому +1

    Thank you so much for the great insights Donabel.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Sandeep!

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

    Hello sqlbelle! I wish you have a nice day

  • @mohitroy2053
    @mohitroy2053 3 роки тому +1

    This was the best part. Loved the explanation. "Aggregate Example #4 - Profit Ratio and the importance of order of operations"

  • @Ramon.83
    @Ramon.83 3 роки тому

    You are amazing! Greetings from Brazil!

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Ramon! Hope you found it helpful!

  • @6toolbaseball
    @6toolbaseball 3 роки тому +1

    Practical advice. Well worth a subscribe!

    • @sqlbelle
      @sqlbelle  3 роки тому

      Thank you so much Sonder!

  • @lavaforce-overwatchmoments9848

    Very helpful thank you !

  • @thennarasuthen9179
    @thennarasuthen9179 3 роки тому +1

    Very clear explanation..and easy to follow....thank you

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Thennarasu

  • @billgarcia471
    @billgarcia471 2 роки тому +1

    I'm about to start a new job related to analytics and this explains a lot, Thank you!!

    • @sqlbelle
      @sqlbelle  2 роки тому +2

      That's great to hear. Thank you for sharing Bill!

  • @deepakgautam8958
    @deepakgautam8958 2 роки тому

    Really awesome video.

  • @vuonghuynh1601
    @vuonghuynh1601 3 роки тому

    the most calculation explain ever, thanks belle

  • @amber-di6il
    @amber-di6il 7 місяців тому

    Really helpful!

  • @Hooleey
    @Hooleey 3 роки тому +1

    Great video! Keep them coming!

  • @ChithiAmmaUSA
    @ChithiAmmaUSA 3 роки тому +1

    wow, you explained it so well. Thank you

    • @sqlbelle
      @sqlbelle  3 роки тому +2

      Thank you Chithi! I hope you found it useful 🙂

  • @jannerick2
    @jannerick2 3 роки тому +2

    Extremely good, you have a new fan.

    • @sqlbelle
      @sqlbelle  3 роки тому +2

      Thank you, I am glad you found it helpful. 😀

  • @ramyamohan4419
    @ramyamohan4419 2 роки тому

    I can say one word...
    SIMPLY SUPER..

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

    Brand new subscriber; you are amazing!

  • @shaiksaleem437
    @shaiksaleem437 3 роки тому +1

    I became big fan of u. what an explanation its really peaks

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Shaik! Happy to hear you are finding the videos helpful!

  • @vishalsvits
    @vishalsvits 11 місяців тому

    I love you from India. Thank you

  • @ontariobeaver9376
    @ontariobeaver9376 3 роки тому +2

    Cool! Smart. Easy to follow!

    • @sqlbelle
      @sqlbelle  3 роки тому +2

      Thank you, so happy to hear you found the video easy to follow :)

  • @sobersabin
    @sobersabin 3 роки тому +1

    I am your new fan.................excellent course material

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Sabin!

  • @michaelalfred6912
    @michaelalfred6912 3 роки тому +1

    thank you. very very helpful

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Michael, glad to hear you found the video helpful!

  • @AnantpadmanabhDivanji
    @AnantpadmanabhDivanji 3 роки тому +1

    Would love to see a tutorial like this on power bi and tableau prep! Excellent explanation

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      For sure, I will include these in my planned videos.. I have one on Tableau prep coming in the next few weeks :) Thank you Anantpadmanabh!

    • @oluremiabayomi5924
      @oluremiabayomi5924 2 роки тому

      @@sqlbelle I am also looking forward to the on eon tableau prep please. Excellent videos

  • @ahmedchakroun8980
    @ahmedchakroun8980 3 роки тому +1

    Thanks a lot for all your informative videos

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Ahmed, hope you found them helpful!

  • @marktan9009
    @marktan9009 2 роки тому +1

    Very nice! Thank you very much!

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

    this was great!

  • @dikshachourasiya9749
    @dikshachourasiya9749 2 роки тому

    This is very Awesome,very nice explanation of each and every calculations.Thankyou so much :)

    • @sqlbelle
      @sqlbelle  2 роки тому

      Thank you Diksha! :)

  • @ramanamurty3366
    @ramanamurty3366 2 роки тому +1

    Thank you for your videos those are very helpful for learners

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Ramana

  • @amolparbat6428
    @amolparbat6428 3 роки тому +1

    Thank You Very much for this video

    • @sqlbelle
      @sqlbelle  3 роки тому

      You are most welcome AMOL!

  • @datafancy1361
    @datafancy1361 2 роки тому

    You are doing such a great Job 🙌

    • @sqlbelle
      @sqlbelle  2 роки тому

      Thank you Data Fancy :)

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

    learned a lot, thank you!

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

    Amazing .this channel is a gem for me! It helps me to easily understand Tableau esp. that I'm a beginner. More blessings to you, Ms. Belle :)
    Could you please provide the database link so that we can practice

  • @lpdowdell
    @lpdowdell 3 роки тому +1

    You are a great instructor!

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Linda. I appreciate your comment very much 🙂 I hope you found the video useful :)

    • @lpdowdell
      @lpdowdell 3 роки тому +1

      @@sqlbelle I wonder if you are planning to create videos about formatting incoming text from fields that contain paragraphs. For example, I would like to indent an entire paragraph with a bullet point

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Hi Linda,
      I was planning to do one or few videos about creating a resume in Tableau, which may have something similar to what you described. However for these ones, the data set will have blocks of text - basically each paragraph is in its own record. One way you can explore is to bring this in text, but have another column just before that has just a shape (for the bullet).
      I'll try to incorporate in the next couple videos that I am planning to publish.
      Thank you for your feedback and suggestion! Much appreciated!
      Donabel

  • @lexinliu6660
    @lexinliu6660 2 роки тому +1

    so helpful!

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      So glad to hear, thank you Lexin.

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

    You have saved me a lot of times

  • @AlaeAloa-cn2kz
    @AlaeAloa-cn2kz 9 місяців тому

    JUST THANK YOUU

  • @peterparker4358
    @peterparker4358 3 роки тому +1

    Thank u so much❤️ ur vidoes are really good please keep them coming

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you for your feedback Peter! Much appreciated!

  • @michellebannon674
    @michellebannon674 3 роки тому

    This is very useful. Thank you!

    • @sqlbelle
      @sqlbelle  3 роки тому

      Thank you Michelle! Glad you found the video helpful!

  • @kristiand3515
    @kristiand3515 2 роки тому +1

    very helpful, Donabel!

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Kristian!

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

    Thankyou.

  • @pattybaselines
    @pattybaselines 2 роки тому +1

    Thank you.

    • @sqlbelle
      @sqlbelle  2 роки тому

      Thank you Patrick!

  • @shyamkumar-fh2fh
    @shyamkumar-fh2fh 3 роки тому +2

    U deserve more views and subscribers. Great work keep uploading videos on business scenarios please

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you for your kind note, Shyam! Appreciate it :)

  • @tingtingshi9463
    @tingtingshi9463 3 роки тому +1

    thank you so much for your videos, easy to understand and follow, really appreciate :)

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you so much for sharing your feedback, Tingting! Glad you found the video helpful!

    • @tingtingshi9463
      @tingtingshi9463 3 роки тому +1

      @@sqlbelle Are you considering to make a complete tableau series tutorial, and level from beginner to advanced level? thank you !

    • @sqlbelle
      @sqlbelle  3 роки тому

      Thanks Tingting - yes I am hoping to do so :)

  • @saisakshi5560
    @saisakshi5560 3 роки тому +1

    Thank you

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      You are welcome Sai. Hope you found it helpful!

  • @ttak83
    @ttak83 2 роки тому +1

    Thanks!

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Shelley! Much appreciated :) I hope you found the video helpful!

  • @dipankarbose4070
    @dipankarbose4070 3 роки тому +1

    Hi, I have seen lots of video in tableau but the information you have share that make you different from other..it is really informative.. Make one video on Data blending ...
    One suggestion ..whatever video you make on that video you should keep on question and answer session that will help us to understand what type of question will be ask by the interviewer on this topic. It will truly help your follower who are searching for job..
    Thank you so much sharing your valuable knowledge with us....

    • @sqlbelle
      @sqlbelle  3 роки тому +2

      Thank you for your note Dipankar, and for your suggestions. I will try to put additional content in future videos about what possible questions could be asked about the respective video topics. 🙂

    • @dipankarbose4070
      @dipankarbose4070 3 роки тому +1

      @@sqlbelle Thank you. I am waiting for your next video...

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

    Great content, I love the part you mention those small details like modeless and multiple ways of create calculated fields.
    I have downloaded your twbx but unable to find the composer fields, to keep up with the contains section, maybe you have forget it?

  • @imranshaikh-gt4tg
    @imranshaikh-gt4tg 3 роки тому +1

    great content ... you have simplified complex calculation topic in 100 times better way ......keep uploading more and also one request if u can provide dataset which u used while making ur videos then we can practice along with you.... keep going...awaiting for more videos ....

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Imran. I will be posting the sources of the data in the description (majority are from Tableau Public and Kaggle). I hope you found the video useful!

  • @ramyahmed9510
    @ramyahmed9510 2 роки тому +2

    Excellent

  • @maheshbarma
    @maheshbarma 3 роки тому +1

    thank you Donabel

  • @NiteshSingh-rv2sh
    @NiteshSingh-rv2sh 3 роки тому +1

    very informative ......keep it up mam

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Nitesh!

  • @divyakuppusamy2196
    @divyakuppusamy2196 2 роки тому

    Informative and Useful. Thanks for sharing. Can you please post a video on security.

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

    Hi Belle, the concepts have been explained in a very simple but detailed way. Your language is clear too which makes it more easy to understand the concepts. I also like the background music. I was wondering if I can get the name of the soundtrack!!!!
    😅

  • @sudarsanreddys9060
    @sudarsanreddys9060 2 роки тому +1

    Thnq Very useful💐

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you SudarsanReddy!

    • @sudarsanreddys9060
      @sudarsanreddys9060 2 роки тому

      I ve A doubt
      At Below Sheetsnames Some as color Like Yellow And Green how they came??

  • @MIDRISSINTEGRATEDINTLLIMITED

    This is amazing.... Kindly provide the dataset for the Demo.

  • @innovativeiinnovativei
    @innovativeiinnovativei 2 роки тому +1

    Thank you for your amazing videos. Very well explained. Could you please share the data sources you have used in the video as it gets easier to follow and learn. Thanks once again.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you. I've added the starter workbook link in the description as well: public.tableau.com/app/profile/sqlbelle/viz/sqlbelle-TableauCalculationsforBeginners-Starter/Intro

  • @tzelichonok
    @tzelichonok 3 роки тому +2

    Hello Donabel, Thank you for your lessons. Very informative and very well presented. I have a question on COUNTD calculation with IF condition. It gives me an "cannot mix aggregate and non-aggregate comparisons" error when using Ration calculation in IF statement. How it can be solved?

    • @sqlbelle
      @sqlbelle  3 роки тому +3

      Hi Tanya,
      Thank you for your note!
      Usually what you can do is embed the IF in the COUNTD, for example, something like this:
      COUNTD
      ( IF condition = True
      THEN yourfieldID
      END
      ) / COUNTD(yourfieldID)
      Hope this helps! Please give it a try, would love to hear how it goes.
      Donabel

  • @DonAusby
    @DonAusby 2 роки тому +1

    Great video and very helpful! I am struggling to calculate the DOW four-week average. So comparing a Tuesday to the average of the previous 4 Tuesdays. Is there an easy way calculate this?

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Hi Russ - there are a few ways we can do this. What kind of chart do you have? One strategy I can think of is using the LOOKUP function (something with an offset of -7 on a daily chart/worksheet) and that can help get 4w average.

  • @alice-nckucsielee8265
    @alice-nckucsielee8265 3 роки тому +2

    Thanks for bring such a amazing lesson.
    Is it possible to get the Powerpoint if it's okay?
    Thanks again !!!

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you for your comment Alice! Hope you found the video helpful 😀

  • @rymensymen1994
    @rymensymen1994 3 роки тому +1

    Really like your voice ! :)

    • @sqlbelle
      @sqlbelle  3 роки тому

      Thank you Simon, that's a very kind comment 🙂

  • @himanshudeliwal5437
    @himanshudeliwal5437 2 роки тому

    Hi This is very informative video, and also wanted to know how to extract last name or first name if we have only name and first and last name written together , Thanks

  • @orugaaireen5890
    @orugaaireen5890 3 роки тому +1

    Hi Ms. Belle, I'm a Fan. I really love how you explain everything. I hope I could get your excel file so I can try it myself all your samples. I am newbie with Tableau. Thank you in advance.

    • @sqlbelle
      @sqlbelle  3 роки тому +1

      Thank you Aireen. I am planning to put all the files together to be downloadable. But please feel free to email me or connect with me on LinkedIn if you'd like to have it soon.

    • @orugaaireen5890
      @orugaaireen5890 3 роки тому

      @@sqlbelle Hi Ms. Belle. I already sent connection in LinkedIn. Looking forward to connect with you. Godspeed!

  • @khatkhaotrithuc
    @khatkhaotrithuc 2 роки тому +1

    I have a dataset that sales of June and July. I want to compare period A (from 10/06 to 24/06) with period B (from 1/7 to 14/07). Can you help me to create calculate?. Thank you so much

    • @sqlbelle
      @sqlbelle  2 роки тому +2

      Hello Ty! Would this period change? If so, what would be the conditions?
      If the dates are fixed, you can do a couple calculations like this:
      //Calculated Field 1: Previous Period
      SUM (If Date >= '2021-06-10' AND Date < '2021-06-25' THEN YourMeasure END)
      //Calculated Field 2: Current Period
      SUM (If Date >= '2021-07-01' AND Date < '2021-07-14' THEN YourMeasure END)
      If it's a typical month over month calculation, you can consider table calculations:
      ua-cam.com/video/3_DeQdE25Bc/v-deo.html
      Hope this helps.

  • @likhithvenkiteela4794
    @likhithvenkiteela4794 2 роки тому +1

    Explanation is fabulous. I got the basic knowledge about calculations part. But, could you please provide me the path to download the data set that you had used in the video? Thank you and eagerly waiting for your response.

    • @sqlbelle
      @sqlbelle  2 роки тому +1

      Thank you Likhith. The data set is discussed towards the beginning: ua-cam.com/video/QimVQl5AoYM/v-deo.html

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

    hi donabelle, do we need to get chinook databse first in sql then excel. as i didnt get any excel file in github