📊 How to use Power BI DAX - Tutorial
Вставка
- Опубліковано 24 чер 2024
- In this step-by-step tutorial for beginners, learn how to use DAX (Data Analysis Expressions) in Microsoft Power BI. DAX is a formula language with functions. If you've ever written formulas in Excel, you'll find that DAX is very familiar.
We'll start by loading the sample data into a data model. Next, we establish relationships between the various tables.
Once the setup is complete, we'll write our first measure. A measure is a calculation that runs across our data model. You'll learn about a few different functions, including sum and count. You'll also learn how to comment your expressions.
Next, we create a measure using operators, like addition, subtraction, division, and multiplication. We then dive into how you can create measures using a graphical user interface called Quick Measures.
We then move onto creating a calculated column and talk about the advantages and disadvantages of columns vs. measures.
We then dig into iterator functions and when you would use them compared to an aggregator function. Iterator functions include sumx, countx, averagex, maxx, minx, and rankx.
Next, we look at the date functions that are available and we use the one called weekday.
We wrap up by looking at some logical functions, including find, if, and calculate.
👋 Additional resources
- Introduction to Power BI (Start here if you're new to Power BI) - • How to use Microsoft P...
- Sample files (use these to follow along) - 1drv.ms/u/s!AmxrofZZlZ-whMIgS...
⌚ Timestamps
0:00 Introduction
0:49 Import data & create data model
3:25 Define relationships
5:14 Create new measure using sum function
10:22 Format measures
11:44 Edit & delete measures
12:33 Create new measure using count function
14:30 Create new measure using distinct function
16:02 Add comments to measures
16:56 Create new measure with operators
19:08 Quick Measure tool
20:36 Create calculated column
21:38 Measure vs. calculated column
22:07 Measure that references another measure
24:19 Iterator functions
27:32 Time & date functions
30:12 Find function
32:38 If function
33:54 Calculate function
36:39 Wrap up
📃 Watch related playlists
- Playlist with all my videos on Power BI: • Power BI
📩 NEWSLETTER
- Get the latest high-quality tutorial and tips and tricks videos emailed to your inbox each week: kevinstratvert.com/newsletter/
🚩 Connect with me on social
- LinkedIn: / kevinstratvert
- Discord: / discord
- Twitter: / kevstrat
- Facebook: / kevin-stratvert-101912...
- TikTok: / kevinstratvert
- Instagram: / kevinstratvert
🔔 Subscribe to my UA-cam channel
ua-cam.com/users/kevlers?...
🎬 Want to watch again? Navigate back to my UA-cam channel quickly
www.kevinstratvert.com
🛍 Support me with your Amazon purchases: amzn.to/3kCP2yz
⚖ As full disclosure, I use affiliate links above. Purchasing through these links gives me a small commission to support videos on this channel -- the price to you is the same.
#stratvert - Наука та технологія
🙋🏻♂️ New to Microsoft Power BI? Get started with this introductory video: ua-cam.com/video/TmhQCQr_DCA/v-deo.html
Please teach about data flow and M language . Thank you kevin
Great 👍😊🙏💕
Kevin, would really appreciate if you could guide me on ho wI can use PowerBI, SQL and Toolpak on Macbook
can you please add xls link of all 3 exercise file ?
I’ve watched several tutorials on Dax but yours stands out more and straight to the point. Thanks Kelvin
Today I went to a work interview (Thursday). They asked me if I was good on Power BI, and I never heard about it before. They said they could get around it, but I said I would be able to master it by Monday. Your videos popped up on my search and as I followed them, I feel like I'm ready in just one day. Really nice, powerful and simple at the same time program. Thanks to your tutorials, the introduction to this program was easy for me. Keep up with these videos. You will be the first search going on from here for software tutorials for me.
Kevin, you are such a great teacher. 🤩Thank you for keeping it very simple and clear. I love the way you explain everything and I am excited to watch more of your training videos for DAX. I have found Dax hard to learn but you make it fun and exciting. 😀
Do you know the different between power BI vs. Power Query?
Thank you very much, Kevin! I've just watched a few DAX intro videos from 5 different instructors, and your explanation is by far the best!
What a great teacher. You just made DAX look less of a mystery to me. never thought I will take on DAX and be this happy. Thank you Kevin. God bless you Sir
It's Amazingggggggggg! The way you've explained just makes me wanna learn more. We need more videos on DAX please!
Hey,
I'm EC engineer... Can I learn Power BI? Which language or software I should learn alongside power BI?
what is job opportunity for freshers in india?
Please guide.... 🙏🏻
@@dexxxxxxxx Hey sure. You can learn power BI. You don't need to learn any additional software, however it's recommended to learn Excel (if not learnt). You'll be good to go.
@@BlushStix thank you ma'am...
How much salary fresher can earn with power BI?
@@dexxxxxxxx A power BI developer can earn anything between 3.5lac to 10lac in India. You need to have knowledge about Fax when you'll learn power BI, make sure DAX is included in it.
@@BlushStix that's appealing salary... 🤯
Thank you very much for information 🙏🏻
Thanks very much for this! It's been a while since I last used Power BI DAX functions and needed a refresher. Your video turned out to be so much better than what I had initially expected! I hope you can do more tutorials on complicated DAX, they used to give me so much headaches!
I am absolute beginner in Power BI Dax formulas. But now by watching this video I understood how to use them and about their core functionalities. Thanks Kevin great effort.
Glad it was helpful!
It is usually tough to start gradually you will get a hand of it. Think about it, as if you are in excel. I tried to make a video on DAX for beginners.. kindly check it out...
Kevin, you are such a great teacher!
I've spent 3 months learning from some other guys on UA-cam and doesn't understand anything. But your 37-min video just changed anything, I could understand a bit more on how star scheme, DAX, new colume, measure,... works. That's just great!
This is fantastic, I had basic idea about power BI and DAX... but this video helped me to get into detail on calculation part... It was easy to understand and learn. Thanks a lot 🙂
Kevin, this instruction is awesome. I'm pretty new to Power Bi but I've been performing data analysis for a long time. Your instruction touched on many topics that quickly made sense to me (leveraging my previous experience with Excel) and the examples (following along with your example files) cleared up any questions I had. I only wish I had Power Bi 30 years ago (yes, I'm old). Thank you.
That means I must be old too. Perhaps better to say that you are experienced (or even highly experienced)! Cheers - Dave
Kevin, you are a great teacher. You explain very details and clear.
Thank you for sharing your knowledge.
Kevin, I just started a job at an accounting firm and we use Power BI as a tool during audits. This is amazing really. Great work explaining every step, it's extremely helpful!
Hi Carel! Please what are some of the use Cases in using Power BI for Audit....? Thanks ...
How do you use power bi for audits? I’m curious because I was actually wondering if there was applications for using power BI in the finance industry.
Hey Kevin! Now I finally understand the difference between aggregate functions and iterate functions. Two thumbs up to you.
This was awesome!! We need more advanced Power BI videos.
This video summarizes what took me 1 month to learn from DAX pdf book. Great work Kevin! Thanks for this!
Nice video. Very descriptive with good examples. I would have loved it if, when you were doing % and margins, you showed how big a % of total profits each customer was. So the customer profit % of total profit, and in the same table. That would have been a great real world addition 😊
Thanks a lot Kevin! I keep coming back here for the DAX measures using your cookie examples. Makes it so easy to understand. Power to you!
Each time I saw your tutorials...I end up watching your video by saying you a big thank you from the bottom of my heart...it is really helpful Kevin...you are truly great teacher...thanks once again.
Omg, you are the BEST teacher I have ever encountered. I don't think I ever thought I could be so grateful to someone I've never even personally met, thank you!
Kevin you are just amazing ! Thank you so much for profound and comprehensive tutorial. I'm grateful
Thank you Kevin!! You are a great teacher! I am new to Power BI. You have a very clear explanation and it's easy to follow. I hope to continue see your videos and learn from you. Thank you for sharing your knowledge!!
Thank you Kevin 👍🏻
I’m a final year student student studding Business IT. Data analyst and science are my career path I’m considering cause I’m efficient in excel, sql and a beginner in python language. Your power BI tutorial is a top notched for me. I got a job interview recently for a data analyst role. After having gone through your tutorials over the past few months, I stood out during the interview and the panelists were impressed. The only challenge I had was that I’m yet to complete my course but I believe after I’m done I will get one in that area.
👍🏻👍🏻👍🏻
Thank you so much Kevin! I have been struggling a bit with some of these concepts in DAX and this has made everything so much clearer for me. I can't wait to go back and rewrite some of my old measures and create new more powerful ones, especially with the Calculate Function.
Really useful, thank you!! I like that I can follow along with the sample files real time. Love the format!
You are a true teacher Kevin, Thanks for clear explanations
Your videos are the cleanest, neatest and smoothest videos anyone can ever come across. Hats off to your hard work!
Kevin. You're a legend! Thank you for this. Hands down best DAX tutorial. Going to watch again and follow through with the files you provided.
Thanks for the note BrotherCole 94! Much appreciated 👍
Hi Kevin, another great video as usual;) - however, like someone already pointed out on the comments below (Jonathan Porter), there's a mistake on the bar chart - Orders should add up to 700 but they are not. This is because the Values field should be summarised by Count. Cheers
Great video, I really enjoyed watching it. I'm on day 2 of my new Manager of People Analytics position, and this came in super handy. Thank you, Kevin.
Hey Kevin, great stuff! You have made it really easy to understand Power BI. I would love to see more videos on Power BI which cater to the advanced crowd.
Kevin, you really mastered every product of Microsoft...very nice session. Thanks
Hey,
I'm EC engineer... Can I learn Power BI? Which language or software I should learn alongside power BI?
what is job opportunity for freshers in india?
Please guide.... 🙏🏻
Thank you so much! The video is very structured and easily understandable. I’ve enjoyed learning Power BI with you. Please upload more video on it :)
Absolutely amazing video. Very explicit. You make it so easy to follow and understand. Thanks for sharing
Awesome video. This is just what I needed to understand DAX. No nonsense, straight to the points. :)
you are a special teacher/tutor. easy and simple to understand. Thanks man for your valuable contribution
Thank You Kevin, awesome teacher. Please making more videos. I appreciate all you do.
Mr. Kevin you are the King !!!! Thanks for all your guidance SIR !!!
Another great tutorial from Kevin Stratvert! Thanks Kevin
Thanks for the walk through and taking some of the guess work out of getting started with PBI…you explain all the little details very well and make it easy to understand! 🙏
Thanks a lot Kevin! Love from Singapore 🇸🇬
Kevin, I was not knowing what Power BI is, but due to you I now understand how powerful the Power BI is. Really, Great Thanks to you and your work :-) 👍👍
Glad to help!
the expression formula is rather complex but the whole presentation was really insightful/articulated and easy to follow! Well done
I am a non-background computer knowledgeable person. But this is an Awesome practical explanation with a live show. I love practical knowledge in a simple way first. I just love it. FINALLY, I FOUND THE BEST ONE FOR ME. DO MORE VIDEOS ON DAX FUNCTIONS FROM EASY TO ... .. DEPTH(MAINLY ON-TIME INTELLIGENCE )
More to come Venkatareddy!
Hi venkatreddy ! I tried to make a video on DAX for calendar table for beginner which will help in time intelligence.. kindly check it out...
Thank you, Kevin. You explained DAX in a lucid way.
A powerful dose of knowledge with so ease. Thank you Kevin
Your explanation is simple & easy to grab! Thanks for your initiative!
Dear Kevin, your lessons are easy to follow and undestand. Keep up good work.
Kevin, you are simply Amazing man!
The simple practical way you explain all the steps makes it really easy 5o follow and understand.
Thanks for sharing your knowledge....l hope to continue learning new things on Power BI and DAX from you...and other topics.
Thank you again Kevin!
Very, very well done! I make "how to" instructional videos for the large school system I serve and I know from experience how challenges these can be to make look so smooth. I learned a lot, want to put what I learned into practice and learn even more!
Fantastic job. You are a natural teacher, thank you.
Kevin, thanks for this DAX tutorial. Very clear explained!
Thank you so much for the tutorial! It literally taught me a lot!
Kevin !! You are awesome. It was superb explanation and the pace is just nice for us to digest. Good work !!
Excellent so much knowledge in such a short time and wonderfully explained, thank you very much.
Thank you so much for such a good training . I hope you keep on making such videos for power BI .
Thanks Kevin. Your sharing is very straight forward and useful. Much appreciated!
Brilliant !
i just finished the whole power BI playlist.
i hope to add more advanced videos.
Thank you Kevin, you are amazing. No confusion at all
Good one. You were clear in explaining the DAX functions. Thank you
Kevin, I hope that your Cookie Co.comes true, but please don't abandon us. Your videos are always: explicate and easy to understand. Thank you!
Yes Jorge, his videos has also helped me .. so i tried to make videos what i have learnt...like DAX for beginners.. kindly check it out...
Thank you Kevin, we really need more videos on DAX
Blessings from Colombia friend. Wonderful tutorial Thanks so much for sharing! You got a new subscriber!
Another excellent video! Thank you for all your wonderful content. These videos really make my learning process so much easier. I appreciate all the effort you put into these videos.
Wonderfully taught and very easy to follow! 😀
Excellent video Kevin! Gives a high level overview and introduces many of the major concepts, without getting too bogged into any one concept.
Hey,
I'm EC engineer... Can I learn Power BI? Which language or software I should learn alongside power BI?
what is job opportunity for freshers in india?
Please guide.... 🙏🏻
@@dexxxxxxxx Hi and thanks for your question. Power BI is a small part of a massive and very lucrative field, which is Data Warehousing and Business Intelligence. With the rise of big data, BI has become a high-demand career.
So, yes - there are lots of jobs available. You can choose to focus just on Power BI or focus on BI in general, Data Warehousing or Dimensional Modelling.
One of the Best DAX class in UA-cam. ! Very helpful .. Keep teaching !!
Hey,
I'm EC engineer... Can I learn Power BI? Which language or software I should learn alongside power BI?
what is job opportunity for freshers in india?
Please guide.... 🙏🏻
Thank you Kevin. you are such a great teacher :) i always thought DAX will be hard to learn.. but your explanation made me to understand easily. 😀
Explained in a short, simple, and impressive way ..... Great video
What a great tutorial. Very clear explanations. 10 out of 10.
For the bar chart of the weekdays at around 29:55, the values add up to over 700 (greater than the number of rows in the data). To correct this issue, in my version of Power BI, for the bar chart, I had to select "Count of Day of Week" in "Values" and then place "Day of Week" in "Axis". Thanks so much for your work Kevin! I appreciate your clear overview.
I spotted the same and left another comment;)
Day of week vs Count of Day of Week? That still wont mean anything. It should have been Day of Week vs Units Sold.
I think it should be count of order id
I am a beginner and I find this video very informative and explicit ❤
Great video. I really enjoy your style of explanation. I also greatly appreciate the sample files so I can follow along.
Excellent tutorials -- thanks Kevin! Wish you could do some more!
You're amazing. i was hoping to find more videos on your channel on Power BI. You do a good job at teaching.
One of the best videos on DAX. Thanks Kevin
Thank you so much for this, after taking so many courses still i wouldn't able to learn, but after watching this I'm pretty sure that little little things make you smarter,
That's why I have completed my all doubts here.
You saved me man.
If anyone wanna learn powerbi do watch this before started cuz this small steps help you alot❤
This was awesome. You have a perfect pace that draws attention. Great job. Thank you.
Needless to say, this was incredebly helpful. Thanks!!
All I can say is thank you for this! I understand everything now
This tutorial is very helpful. Thanks Kevin ! Other tutorials on DAX is not even close to this one.
Excellent training technique. Very methodical and to the point.
Great tutorial, much appreciate the sample data files to be able to follow along!!
Thanks, Kevin. You've explained really well!
This is well explanatory and easy to follow. Good job!
Keep these Power BI vids coming, they are killer!!!!!
Very straightforward and helpful!
Just getting started with using power bi and this video was really helpful. I able to create a dashboard after watching it! Thanks!
@Kevin, this was super helpful.
Can you please make more detailed videos covering the various scenarios where DAX can be used?
Hi Rahul! I tried to make some videos on DAX for beginners.. kindly check it out if helps...
Thank you for making this video. I almost learned everything and you made it very easier for us to understand. I expecting some more videos from you on dax expression.
Thanks man, really helpful in opening up the basics of DAX
Nicely done, Kevin! On your Day of the Week part of the video, you are adding them (instead of adding Orders) and slicing by Days of the Week as well in that visual.
You made this so easy to understand. Thanks for sharing your knowledge!
One of the best DAX intro tutorial, Thanks a lot!
Thank you very much for sharing your knowledge, I'm getting stronger with Power BI
Kevin, excellent explanation of the basics! Thank you.
This is a very useful video on dax! Thanks for making it simple to understand
very well explained. I watched two of your videos on power bi and they covered a lot of topics and I got a good handle on them. thanks for your wonderful teaching skills and your command over power bi.
Thank you Kevin! I hope more Power BI videos are in the pipeline!
Kelvin, thank you for this tutorial. You are a great teacher, very detailed and concise. I should be able to use this for my case study.