Learn Power Pivot & DAX for Power BI with 20 Beginner to PRO Examples (Sample file included)

Sdílet
Vložit
  • čas přidán 26. 06. 2024
  • DAX (Data Analysis Expressions) is the language used by Power Pivot (and Power BI) to build calculations and to analyze data. If you want to be good in Power BI, then you must learn DAX.
    In this comprehensive video, learn how to get started and use DAX for many practical scenarios with 20+ examples.
    What is covered?
    ==============
    1️⃣ What is DAX & Power Pivot?
    2️⃣ How to create and edit measures in Power BI?
    3️⃣ Evaluation Context explained
    4️⃣ Customizing the DAX measure display settings
    5️⃣ Reusing DAX measures to build complex calculations
    6️⃣ How to use CALCULATE() to change the "FILTER" criteria
    7️⃣ DAX Measures vs. Columns
    8️⃣ Using Variables in DAX
    9️⃣ OR conditions, IN operator in DAX
    🔟 DAX tips & guidance to improve your skills
    SAMPLE WORKBOOKS 📂
    =====================
    Blank Power BI File (with data model) to follow along - files.chandoo.org/pbix/gettin...
    Completed Power BI File (with 20 DAX examples) - files.chandoo.org/pbix/gettin...
    Raw Data file (Excel workbook) - files.chandoo.org/pbix/ac-sam...
    ⏱ Video Topics 👇
    ================
    0:00 - What is DAX & Power Pivot?
    2:10 - Our first DAX measure
    4:46 - Understanding the Power Pivot Calculation Engine & Evaluation Context
    7:10 - Formatting the DAX measures
    11:32 - Reusability of DAX measures
    18:29 - IF Condition in DAX
    25:27 - DISTINCTCOUNT in DAX
    31:05 - MIN / MAX / AVERAGE
    31:42 - CALCULATE in DAX
    41:11 - Adding columns with DAX
    45:03 - Alternate syntax for CALCULATE()
    46:10 - Variables in DAX
    48:36 - OR Conditions in DAX (with CALCULATE)
    49:45 - 20 DAX measures (recap)
    51:48 - How to learn more DAX?
    LEARN MORE about DAX 💻💡
    ========================
    My Power BI Course - chandoo.org/wp/power-bi-play-...
    BOOK RECOMMENDATIONS 📚
    ==========================
    Supercharge Power BI with DAX by Matt Allington - amzn.to/3HiPYEt
    Definitive Guide to DAX by Marco Russo & Alberto Ferrari - amzn.to/3O9f4b6
    More videos on Power BI & DAX 📺
    =============================
    Introduction to Power BI (45 minutes, 100k+ views) - • Beginner to PRO Data A...
    Introduction to Power Query (80 minutes, 240k+ views) - • Power Query Tutorial -...
    Another video on DAX (live stream, 50k+ views) - • Getting started with P...
    My Power BI Videos (playlist) - • Beginner to PRO Data A...
    ~
    What song do Data Analysts dance for?
    DAX the way... aha aha
    I Iike it... aha aha
    😂
    #PowerBI #dax
  • Věda a technologie

Komentáře • 360

  • @excelworx8712
    @excelworx8712 Před 2 lety +91

    This is a truly EPIC video Chandoo. I have not seen anyone covering DAX measures like this. You should make a video about some advanced measures now

    • @chandoo_
      @chandoo_  Před 2 lety +8

      Thanks EW.

    • @manjunathmnm
      @manjunathmnm Před 2 lety +1

      @@chandoo_ Chando greetings from Bangalore 👍 Wonderful video..

    • @femiodunaye4456
      @femiodunaye4456 Před rokem

      Nice one sir you are doing a good job

    • @jankaufmann4305
      @jankaufmann4305 Před 4 měsíci

      He's the talent explaining dry, complex things in an easy way. Truly what a teacher should do. Kudos to him.

  • @happyshoe1
    @happyshoe1 Před rokem +7

    This is SO GOOD! Chandoo, your videos have been invaluable in my learning Power BI. Years ago I worked extensively with Hyperion Essbase and IBM Cognos TM1. I’m astonished with the power of Power BI.

  • @TataNaresh
    @TataNaresh Před rokem +9

    The way chandoo teaches is flawless.Trainer explains the concepts in a smooth and simple way 🤩

  • @Farhazh
    @Farhazh Před 2 lety +4

    Thank you sooo much Chandoo! This is what i was looking for since forever!
    No one can explain as clearly as you do, much appreciated!

    • @chandoo_
      @chandoo_  Před 2 lety

      You are welcome Frahaz. :)

  • @ayeshaakter1710
    @ayeshaakter1710 Před 6 měsíci +2

    Just giving Thanks is not enough for this excellent tutor "MR.Chando". Its SOOOO GOOD indeed. I 'm an OCP. Keep going on Sir.

  • @dwaipayansaha4443
    @dwaipayansaha4443 Před rokem +5

    One of the best explanation on DAX I came across. Thanks a lot Chandoo.
    Please keep making such videos

  • @mostafahosseini2872
    @mostafahosseini2872 Před 10 měsíci

    one of the best video training about "DAX"!
    thanks

  • @ElCaminoHermano
    @ElCaminoHermano Před rokem +1

    God bless your smart, generous and humble analytical soul!!

  • @GurayVural-nz1lk
    @GurayVural-nz1lk Před 8 měsíci +4

    You are an excellent instructor Chandoo! Very-well explained, step by step, and clear. Thanks a lot

  • @isteaq993
    @isteaq993 Před 10 měsíci

    Can't stop myself of watching your video on Excel. Very useful & easy to understand.
    Can't thank you enough ❤

  • @priyavishalkulkarni2415
    @priyavishalkulkarni2415 Před rokem +23

    I'm practicing for Power BI from last month. From first day I'm following your videos. It's so clear and easy to understand. Keep rocking Sir👏💐

    • @itstinku171
      @itstinku171 Před 9 měsíci

      hi can you clear one doubt in this video only
      when am calculating total amount of new zealand + australia countries am not getting correct values like in the video. Not understanding why
      am using variables even individual calculation also not getting correct results
      can you help?

    • @kommanajyothsna7646
      @kommanajyothsna7646 Před 18 dny

      You can try this it worked for me, go to data modeling tab and link one table of the columns to the other table column which is of same Dat type , then try adding it will work

  • @utubeAgape
    @utubeAgape Před 2 lety +3

    Love this! Thank you for providing the DAX measures for commonly used analysis. Helpful!

    • @chandoo_
      @chandoo_  Před 2 lety +1

      You are welcome Irene... 😀

    • @aniketwanjari2624
      @aniketwanjari2624 Před rokem

      @@chandoo_ chandoo sir i am from India.. Have some questions.. Can i share you on email.

  • @user-ju5hz5ok1t
    @user-ju5hz5ok1t Před 9 měsíci

    I am using power bi few days ago this video is very good and helpful to learn and easily guide the common used DAX measure analysis

  • @jkumar8590
    @jkumar8590 Před 5 měsíci

    Extraordinary video. Quality video. Quality audio. Quality content. Your video removed fear associated with Dax. I suggest that your courses may be priced reasonably so that more people can benefit without any loss to you. Please consider

  • @KevinStudent
    @KevinStudent Před 2 lety

    OH MY GOD! The emoji shortcut/functionality is actually so awesome. Way better than the regular KPI icons!

  • @nadyamoscow2461
    @nadyamoscow2461 Před rokem +5

    You are just a fantastic tutor!! I really can`t thank you enough for your wonderful job.

  • @azobensadio260
    @azobensadio260 Před 7 měsíci

    it's amazing the way you teach power bi, you are the best!

  • @sidindian1982
    @sidindian1982 Před rokem

    Sir, the Wat you explained DAX & P-Pivot .. Mindblowing .. 🙂

  • @diyapatel4446
    @diyapatel4446 Před 8 měsíci +2

    this is an excellent, easy to understand and to the point tutorial and a very friendly introduction to DAX. thank a ton for this tutorial!

    • @chandoo_
      @chandoo_  Před 8 měsíci +1

      Glad it was helpful!

  • @smaklad1
    @smaklad1 Před 2 lety +1

    Really one of the best foundation teaching I have ever seen. Thank you

  • @khoihvm
    @khoihvm Před rokem

    Thank you so much for your effort. The lesson is so clear and easy to understand.

  • @lightning369
    @lightning369 Před 10 měsíci +1

    This is purely an exceptional and excellent talent you have in training, Chandoo. I am impressed by the ease of digesting your content. It is above and beyond. I am enjoying doing the hands-on as you walk me through using your datasets. At timestamp 27th minute, I am having a snag case in getting the correct count. I am just getting all these 22s. I have used 3 formulae with the third one getting from someone in the comments but none gives give the correct distinct count. The cardinality in my ERD (let me call it so) of the relationship is "Products" to "Sales" as 1 to Many just like yours. I downloaded the recent Power BI desktop in case it is a difference in versions that may use different formulae to achieve the correct results. I don't know where I am wrong. I tried every one of these DAX formulae.
    Count of Products1 = COUNTROWS(products)
    Count of Products (right) = DISTINCTCOUNT(sales[Product])
    Distinct Products Count = CALCULATE( COUNTROWS(products),sales)

    • @louplay
      @louplay Před 8 měsíci +1

      Yeah it's definitely 'Count of Products (right) = DISTINCTCOUNT(sales[Product])', so i wonder if the data in your table has been changed somehow, or if you have selected the wrong measure for your visualization

    • @lightning369
      @lightning369 Před 8 měsíci

      @@louplay Thanks for the concern. I will check it again.

  • @BabsLee911
    @BabsLee911 Před rokem

    You have a great channel and you're a great instructor/teacher. keep it up 👍

  • @ngwafabrice9561
    @ngwafabrice9561 Před rokem

    Chandoo has to he the best Tutor for power bi on this platform not even for his know how but especially how he simplifies everything he teaches❤❤❤ thanks alot

  • @zulumedia6374
    @zulumedia6374 Před 7 měsíci

    You are an excelent teacher. Thank you very much!

  • @rakeshjalla4275
    @rakeshjalla4275 Před 10 měsíci

    You are really a good teacher, thank you.

  • @ritwickgoswami8187
    @ritwickgoswami8187 Před 3 měsíci

    You are amazing!!! Laughed my way to DAX!!

  • @MAH8897
    @MAH8897 Před 2 lety +2

    Hello Chandoo,
    It is wonderful to see your Tut, it is give me a mood to go back in my past, as I worked in Saudi in SAP ERP in most modules, during that time DAX was not their, now I use imagination how good it was if you and DAX was there. Any how your kind efforts really helps me in learning new things and brushes up knowledge, and same shareing with my son's.
    Almighty bless you and your family.
    Love from Hyderabad

    • @chandoo_
      @chandoo_  Před 2 lety +2

      Thanks Mohammed. DAX has been around since early 2010s. In fact, my oldest video on DAX on the channel was published in 2013! Better late than never.

  • @abdulmd1083
    @abdulmd1083 Před rokem

    Chandoo you are such an amazing tutor. God bless you, keep rocking .

  • @gayathri8234
    @gayathri8234 Před rokem

    Thank you very much for this detailed video ..Clearly explained to the point 👍👍

  • @QuantuMatrix
    @QuantuMatrix Před rokem

    Epic and awesome Chandoo. Thanks for your time to deliver such an informative and practical learning opportunity to grasp power BI knowledge...

  • @naveendubey2815
    @naveendubey2815 Před měsícem +1

    Best explanation for the DAX.

  • @nonoobott8602
    @nonoobott8602 Před 2 lety +3

    Great video and very explicit with good use cases. Thanks for sharing

    • @chandoo_
      @chandoo_  Před 2 lety

      Thanks Nono. I am glad you enjoyed this.

  • @SunilKappal
    @SunilKappal Před 3 měsíci +5

    Chandoo is the best! I haven't seen and heard such an eloquent explanation of DAX methods. A big thanks for making such an amazing tutorial!

  • @akin-ojoayotomide8909

    This was truly useful and helpful! Thank you

  • @trishasingh8832
    @trishasingh8832 Před rokem

    The way you explain even the most complicated concepts is realllyyy BEAUTIFUL!
    Thank you for your efforts! ✨🇮🇳

    • @chandoo_
      @chandoo_  Před rokem

      You are welcome Trisha 😀

  • @ashokkumarpadmanabhan6483
    @ashokkumarpadmanabhan6483 Před 10 měsíci

    Really Amazing videos. I am learning daily with ease. Highly Appreciated your effort !!! Keep up your work

  • @shashibhusanpandit7188

    Example of Filter and Calculator is awesome.

  • @gavidiharish13
    @gavidiharish13 Před rokem

    Only a master can explain like this🙌🙌🙌

  • @ihsansaleheen6672
    @ihsansaleheen6672 Před rokem

    Just awesome sir. Thank You very much. Wish you all the best.

  • @louplay
    @louplay Před 8 měsíci

    Greetings from NZ, thanks for the tutorial - best one I've done so far!

  • @prashantpareek8127
    @prashantpareek8127 Před rokem

    Following your video so Deeply that gave you thumbs up the moment you said in the video

  • @BenDieselBasicAutomotive

    Thank you very much, Idol. As always... I learned a lot...

  • @sarthakmane2977
    @sarthakmane2977 Před 10 měsíci

    This was really helpful, thank you very much!

  • @martinargimon730
    @martinargimon730 Před 2 lety +1

    excellent and simple explanation. You are a great teacher. Thanks so much for your videos !!!. Take care !. Martin ( South Africa)

    • @chandoo_
      @chandoo_  Před 2 lety +2

      You are welcome Martin 😀

  • @anilanair6684
    @anilanair6684 Před 19 dny

    Awesome tutorial Chandoo..You are a great teacher. Thanks a lot

  • @keziahajah8808
    @keziahajah8808 Před rokem

    Thank you so much. This was awesome.

  • @Alan-wt1vo
    @Alan-wt1vo Před rokem

    this just amazing and brilliantly explained

  • @jephreyg-power310
    @jephreyg-power310 Před 2 lety +1

    we love u somuch and more grace sir...Nigeria

  • @Hairy_MF_Steve
    @Hairy_MF_Steve Před 3 měsíci

    Great vid. I'm happy I found it. It helps me do much.

  • @brahmendramanku2345
    @brahmendramanku2345 Před 12 dny +1

    Hii sir its really fantastic video for freshers . Iam really excited to say wahh taj. No more words to explain and after completing this video iam very confident about DAX

  • @dergimorka5341
    @dergimorka5341 Před rokem

    Thank you so much Chandoo really appritiated great job this is a very clear concept about the fundation of DAX

  • @parthasarathy4124
    @parthasarathy4124 Před rokem

    You are a powerbi man bro, the property you use easily convey us concept clearly.thanks bro

  • @danielatitebi7062
    @danielatitebi7062 Před 11 měsíci

    Fantastic Presentation, thanks in millions

  • @dubeypushpendra4558
    @dubeypushpendra4558 Před 2 lety

    Dear Sir,
    You are ideal mentor.
    Thanks

    • @chandoo_
      @chandoo_  Před 2 lety +1

      You are welcome Dubey 😀

  • @samuelodoom2720
    @samuelodoom2720 Před 2 lety

    Thank you so much sir. This is Gold

  • @nisaravi2140
    @nisaravi2140 Před 6 měsíci

    It has been useful for me to understand small small things from your way of presenting and how we can calculate it in a different ways . Actually I was confused to write the dax measures like I didn't even know the difference between same formulas in different formats. Thanks Chandoo keep posting videos related to power bi I am seriously looking for my path to becoming a dashboard star...

  • @Resh_aadil
    @Resh_aadil Před 8 měsíci

    Thanks for detailing DAX Sir,great job,very useful

  • @sachinjagtap3220
    @sachinjagtap3220 Před rokem

    Great way of explaining, got to know about the fundamentals of DAX,,,, Thanks to your methods of teaching, it changed my perspective for DAX

  • @arbazahmad7177
    @arbazahmad7177 Před 2 lety +1

    Awesome 👌. Many thanks for this great lesson for DAX.

  • @meghanamags9217
    @meghanamags9217 Před rokem

    Great Job 😊 Love these videos and explanation

  • @shyamdesai8944
    @shyamdesai8944 Před rokem

    Hi Chandoo - Very good video. kept it simple but still very informative.

  • @ginubaby1330
    @ginubaby1330 Před 11 měsíci

    Great video Chandoo. Well explained and very simple to follow for a beginner like me...

  • @hendrag1174
    @hendrag1174 Před rokem

    Great video, many thanks

  • @anv.4614
    @anv.4614 Před rokem

    Appreciated. Thanks

  • @soroush5512
    @soroush5512 Před rokem

    Was Perfect man....thanks a lot!

  • @magdahassib694
    @magdahassib694 Před rokem

    Thank you very much, it is a very rich video

  • @dan.6398
    @dan.6398 Před 5 měsíci

    Truly big thank you

  • @anilkumarsingh.3807
    @anilkumarsingh.3807 Před 2 měsíci

    chandoo ji, excellent explanation, your control on the content and way its been explained is just awesome

  • @IswaryaMaran
    @IswaryaMaran Před rokem

    Amazing explanation .simple and neat

  • @arvindr2101
    @arvindr2101 Před 2 lety +1

    Great support. Thank you for all your super efforts.

  • @jamanemon2110
    @jamanemon2110 Před 4 měsíci

    This session was really very helpful for me chandoo. You are really a good teacher. Thank you so much for this video on DAX.

  • @richardjames7185
    @richardjames7185 Před rokem

    Thank you so much. This has totally demystified the application (I had heard about it but not touched it) DAX is easy and very similar to PowerApps

  • @adewalem5474
    @adewalem5474 Před rokem

    Thank you for the great tutorial sir!!!! really helpful

  • @nafeesahmed-zb1kj
    @nafeesahmed-zb1kj Před 10 měsíci

    Superb Knowldge................. Thumbs UP........

  • @user-yl1fo5wy6q
    @user-yl1fo5wy6q Před rokem

    Thank you chandoo, You are awesome.

  • @jayeshkumbhani1531
    @jayeshkumbhani1531 Před 9 měsíci

    It is really helpful for beginners.

  • @pradeepreddy1308
    @pradeepreddy1308 Před 2 lety

    hi chandoo yur videos makes us to understnd in asimple way..thnku

  • @kaltoumrachdi2086
    @kaltoumrachdi2086 Před 4 měsíci

    Thank you so much chandoo for this video

  • @janhavikanthak5459
    @janhavikanthak5459 Před 5 měsíci

    This is very helpful!

  • @jankaufmann4305
    @jankaufmann4305 Před 4 měsíci

    Another excellent videos!

  • @motivationendless6117
    @motivationendless6117 Před měsícem

    Thanks Sir, these videos are truly very helpful.

  • @jumpropemonk7703
    @jumpropemonk7703 Před 2 lety +1

    Another great video! Thanks 🙏.

  • @91221srikar
    @91221srikar Před 29 dny

    very useful, thank you so much

  • @praaj4138
    @praaj4138 Před rokem

    Thanku so much for this video ❤️

  • @darray7472
    @darray7472 Před 2 lety

    Awesome!
    Jedi master Dax Chandoo!

  • @chrism9037
    @chrism9037 Před 2 lety +2

    This was fantastic, thanks Chandoo!

    • @chandoo_
      @chandoo_  Před 2 lety

      Glad you liked it Chris :)

  • @AllinOne-kp8bp
    @AllinOne-kp8bp Před 10 měsíci

    Thanks Chandooo. This video was very useful

  • @nellier2155
    @nellier2155 Před rokem

    Your videos are epic. I have been adding myself to the waitlist for Power BI Play Date. Is shows reopen in Jan2021. Cant wait to attend the course.

  • @shubhamjagtap1455
    @shubhamjagtap1455 Před rokem

    Best video for knowledge ❤️❤️

  • @24x7fun21
    @24x7fun21 Před 5 měsíci

    It's very helpful!

  • @allwyncolaco3793
    @allwyncolaco3793 Před 2 lety

    Thank you so much 🙌🏻

  • @lilianezeli5521
    @lilianezeli5521 Před 2 lety +1

    Brilliant as always. I had to share this video.

  • @kuldar.
    @kuldar. Před rokem

    Thank you Sir!

  • @bharadwajvedula510
    @bharadwajvedula510 Před rokem

    Chandoo you are awesome
    Thank you

  • @srinivaasadg
    @srinivaasadg Před 10 měsíci

    This is great Chandoo, Simple and effective way of explaining Bang on😎 Keep Rocking

  • @KgasS
    @KgasS Před 2 lety +4

    Nice introduction to power pivot engine. As said the distinct count of product can be found in many ways, the one which do by filtering many sides to one side is
    Distinct Products Count = CALCULATE( COUNTROWS(products),sales)

  • @charlesotoghile6547
    @charlesotoghile6547 Před rokem

    The Master of Excel has come to take his place in Powerbi. Did you notice he did all these without the mentioning the complexities of context whatever?

  • @PraveenR7323
    @PraveenR7323 Před 2 lety +1

    Hi Bro, Thanks for your valuable time and effort for us. Keep rocking it.

    • @chandoo_
      @chandoo_  Před 2 lety

      You are welcome Praveen. Don't forget to share your knowledge with others by helping a colleague / friend when they need you.

  • @pradyumnakowsik
    @pradyumnakowsik Před 2 měsíci

    Very well explained with lot of ease and simplicity in demonstration. Hope much more good helpful videos like this even in future.Tq