Out of hundreds of thousands of videos that claim to teach DAX, there are only a handful of videos that actually emphasize on DAX concepts. This video is one of them.
This shouldn’t be used as a normal video … it must be used as a handbook whenever anyone wants to write a DAX equation Really very great one .. I love it 🤝🙏🏻👍
Really great video as always. I love how you show the incorrect steps people commonly make along the way and then show how to resolve. Thank you for your hard work.
new to power bi and after reading blogs/articles and other videos this is the first one that clearly, consicely and simply explained+ demonstrated row context and use cases for CALCULATE. Love that you show common traps to use incorrectly the calcs and how & why under different scenarios. Thank you! Your website is a gem of short and useful stuff.
You essentially explained the most important parts of The Definitive Guide to DAX, which was written by the SQL BI guys. You explained everything perfectly. I recommend anyone who liked this video to check out the book, if you're comfortable with studying by reading a book. It goes into a lot more intricate detail.
I have seen this video multiple times, bookmarked it on my browser. I keep referring back to this video from time to time to brush up my DAX fundamentals. Thanks for uploading such a great content.😀
Excellent content so far and I'm looking forward to viewing more. What I like about what you've done here is that you don't assume a lot and you don't go down the rabbit hole. For example, you mention variables and constants but you don't spend much time on defining those. You say just enough to make the point and the continue on with variable usage, which was the topic at hand. I like that. You show your work without a lot of extra fluff so that it's easy to understand and you don't assume pre-existing knowledge. Even better, the presentation is fantastic.
A "must" for anybody looking to use DAX. It makes clear what the "context" concept means and what's the rationale to use measure or calculated columns , not just choosing one or another because it's the right way but to understand the reason for that.
Your explanations are awesome. Pls help me on the following. How can I COUNTIF Whinin a measure ? Example. Measure 1 = calculate the average weekly sales per Salesman. Measure 2 = Count the Saleman below 70% of average sales (Measure 1) on a particular day, for each branch
Thank You ..yours explanation is great... Can you Please make a video on Power BI Cohort Analysis,finding lost customer, Return customers.... Always find them challenging to evaluate....
Great stuff, Bas! You have explained the concept succinctly and precisely. I did have trouble to explain the context transition accurately to my colleagues. Thanks for the tip
I love the video. Very accessible for beginners. Feedback: I would have done the when to use measures first (before discussing filter context in measures).
Great video! quick question, How can we filter our visual by the value of the measure we created, let say we want to see specific range of Cost% to sales without creating calculated colomn?
This video is really amazing. Could you help me with the below situation. I have a sales table and sales return table which records daily sales and return transaction where both table connected to a date dimention table. I need to create a measure to find difference of sales and return till to the day level. Also need to calculate MTD and YTD of this measure.
great video to get started, I wish I found this one earlier in my career. by the way, you missed the allselected() function to calculate sub totals that everyone else talks about all the time lol.
In DAX world, table filters are not healthy when it comes to performance (report, code, capacity usage etc.). I have seen many RUclipsrs making this mistake, and people learn those methods without knowing the impact (Example: dimCustomer in YT Video may have x number of records where as in reality it might be (x+n) rows with hundreds of columns. Was happy to see REMOVEFILTERS(dimCustomer[Customer Name]) at last somewhere instead of ALL(dimCustomer). Thank you
Another amazing video by the guy that's better than Netflix! Thanks again Bas! I have a question though: Is there a way to filter by using only part of the value and not the whole word? For example instead of finding all Sales for which [Product Category] ="Hair", can we find all Sales for every [Product Category] that contains let's say the letters "*AI*" somewhere in the [Product Category] field?
In the calculated columns that you used to classify the customers what if you had to have a slicer by product and the class of client had to change depending what product you select? Everything I read says that calculated columns are static and calculated when the table is built but you can't use a measure has the first columns of a matrix so I can't think of a way to resolve this.
thanks for this video i have a query on while calculating average sales it has been mentioned there is filter context which was not there before . can anyone clarify where is the filter context came on customer name ?
Hi, is there a way to get a specific date values thru DAX e.g. getting the sales every 1st of the month then comparing it with current sales value. I tried using CALCULATE and FILTER but the 1st day sales only shows on the total rows but doesn’t show up on each rows. It will only show the per row values if the selected report date is 1st of the month. Hope you can cover it in your future video
Hi Bas! Thanks a lot for this video and all of them, i'm new at dax and your channel is being really useful. I'm having trouble understanding context transition. I've tried appying the calculate(sum()) formula, but it doesn't respect the calendar table filter. If i use a meassure it works correctly, but i think i need a calculated column with the amount, since the goal is to label the customer according to 3 categories for the amount of income of each one. Could you give a hint? thanks in advance. Kind regards.
From the title I thought this was a beginners guide, but definitely not. Will come back to this video later when I actually know more about DAX and know what Bas is even talking about haha
IMHO understanding row context, how filters flow from dimension tables to the fact table through relationships to create subsets how the CALCULATE function creates context transition are key aspects when learning DAX.
Could you make a video showing how to create a stock price variation line chart that always start on 100% doesn’t matter the start date you select in the slicer?
This video should be used by MICROSOFT as reference .....for me dax was like a rocket science ....but after watching this video its so easy....thank u so much
Hello Bas, thanks for your videos, I learned so much. Can you share also the name of the cream or hair product you use in your hair? Its really nice. 😊
Hi I have a power bi question. My rows are different places and my columns are different toys sold at those places. I want to measure a specific toy and check what they did in Q1 and Q3 in year 2021 and next to it before the next toy I want to see Q1 and Q3 year 2022. However when i do that the 2022 only starts after all the quarters of the previous year is filled how do I put both years together as a measure to see If I am profitable?
Great video! In the last example, would it not be better to remove all filters on the dimCustomer table and not just on Customer Name that may not even be unique? There may still be a filter on customer no or customer id or something.
if you would add a further breakdown to the visual (for example customer segment) it would lead to a different result (% of overall total vs subtotal) .. just depends on what you are looking for -> work with the minimum number of columns to reach your goal
how much SQL knowledge is required for Power BI developers with 2 to 3 years of experience, and in an organization, do Power BI developers have to handle SQL tasks themselves or is there a dedicated SQL team for that?
I still cannot get my head around this. So I started tampering with the same expression and when I applied the same code but without the calculate the same numbers were returned for customers regardless of whether I used Allcustomers or just Customers. It seems that the row context of fctsales[sales], which is a calculated column, overrides the preceding row context on customer, that is Allcustomer behaves the same as customer alone. If you could please clarify this would appreciate it.
Please make a video about APIs! I have too much data without PBI connections (as Google sheet, we use Zoho mail). And it has been a painful journey to work like this lmao
Out of hundreds of thousands of videos that claim to teach DAX, there are only a handful of videos that actually emphasize on DAX concepts. This video is one of them.
The others?
"Correct Context is everything". this is the one video which should help all new comers into the world of Power BI.
that's right - understanding that gets you a looong way with dax. Thanks for watching Rajneesh!
This shouldn’t be used as a normal video … it must be used as a handbook whenever anyone wants to write a DAX equation
Really very great one .. I love it 🤝🙏🏻👍
Really great video as always. I love how you show the incorrect steps people commonly make along the way and then show how to resolve. Thank you for your hard work.
new to power bi and after reading blogs/articles and other videos this is the first one that clearly, consicely and simply explained+ demonstrated row context and use cases for CALCULATE. Love that you show common traps to use incorrectly the calcs and how & why under different scenarios. Thank you! Your website is a gem of short and useful stuff.
Such a lovely guy who share all of his knowledge on powerbi on RUclips for free. With all shortcuts, no hold barred. God bless you my brother.
The 👏🏼 best 👏🏼 power 👏🏼 bi 👏🏼 guru 👏🏼 ever 👏🏼
thank you so much for the compliment Kenny!
You essentially explained the most important parts of The Definitive Guide to DAX, which was written by the SQL BI guys. You explained everything perfectly. I recommend anyone who liked this video to check out the book, if you're comfortable with studying by reading a book. It goes into a lot more intricate detail.
I have seen this video multiple times, bookmarked it on my browser. I keep referring back to this video from time to time to brush up my DAX fundamentals. Thanks for uploading such a great content.😀
bro you are just the best Power BI youtube I've seen. Love your work, keep it up!
I appreciate that, thanks 🚀😎
Excellent content so far and I'm looking forward to viewing more. What I like about what you've done here is that you don't assume a lot and you don't go down the rabbit hole. For example, you mention variables and constants but you don't spend much time on defining those. You say just enough to make the point and the continue on with variable usage, which was the topic at hand. I like that. You show your work without a lot of extra fluff so that it's easy to understand and you don't assume pre-existing knowledge. Even better, the presentation is fantastic.
One of the very best Power BI training videos. Superbly explained, professional and charming delivery. THANK YOU!
The best video I have ever seen to differentiate between Calculated Column vs DAX!!!
The core of DAX in 20 minutes…
Thanks Bas for your videos !
Amazing! You have turned a complex topic to simple by breaking it down step by step explanation. Many thanks for sharing your wisdom!
A "must" for anybody looking to use DAX. It makes clear what the "context" concept means and what's the rationale to use measure or calculated columns , not just choosing one or another because it's the right way but to understand the reason for that.
Dude you are the GOD of PowerBI. Discovered your channel day before yesterday and I'm loving it
awesome! Welcome to the channel then :)
Of all videos out there, this one actually made DAX easy! Thx Bas!
Love your narration. Always simple, concise and in a business context. Nice video.
I need a video on how to create such videos!!
I like the way you zoom the screen to keeping us focused on the important parts
thank you Yassir - there's a lot of free good stuff on video editing with premiere pro - just get started and learn by doing :D
Very simple explanation, yet covers the main concepts, easy to understand for everyone - Thank you bro !
Thx for watching :) glad you liked it
I know fir sure you are good .. plz do more on dynamic colorful themes n charts on power pi. Keep it up.. u make learning easy
Thanks
thanks a lot John!
Perfect combination of teaching skills and good looks.
Saluti dall’Italia 😘
The weighted and unweithed way was really illuminating! Thanksss!
That opening is exactly how I have felt trying to do DAX. I have a programming background and DAX makes me want to pull my hair out sometimes....
@12:49 how can this average sales at customer level ? Its simply average sales of all customers. Its the same result.
Your explanations are awesome.
Pls help me on the following.
How can I COUNTIF Whinin a measure ?
Example.
Measure 1 = calculate the average weekly sales per Salesman.
Measure 2 = Count the Saleman below 70% of average sales (Measure 1) on a particular day, for each branch
Another important question! When would you use calculated column vs...doing it in power query ? when would you use one over theo ther?
Danke!
Thanks for watching and your support :)
Thank You ..yours explanation is great...
Can you Please make a video on Power BI Cohort Analysis,finding lost customer, Return customers....
Always find them challenging to evaluate....
Great stuff, Bas! You have explained the concept succinctly and precisely. I did have trouble to explain the context transition accurately to my colleagues. Thanks for the tip
"Easier NOT easy" - Nice work Bas, thanks for sharing. 👍👍👊👊
I love your channel and your vibe. Thanks for making a frustrating topic so much easier. Please do more PowerBI vids on Dax and M.
Thx :) will think about this
Thank you, always enjoy watching your videos! :)
i really need this ! thanks for sharing this video ...very helpful and hope you ll share video on data modelling
I love the video. Very accessible for beginners. Feedback: I would have done the when to use measures first (before discussing filter context in measures).
Great video!
quick question, How can we filter our visual by the value of the measure we created, let say we want to see specific range of Cost% to sales without creating calculated colomn?
This video is really amazing. Could you help me with the below situation. I have a sales table and sales return table which records daily sales and return transaction where both table connected to a date dimention table. I need to create a measure to find difference of sales and return till to the day level. Also need to calculate MTD and YTD of this measure.
I just stumbled onto your page. I love your style and breakdown of instruction. Good stuff!
thx James for watching!
the first video i watched for power bi. Great one!
awesome, hopefully not the last one :D
great video to get started, I wish I found this one earlier in my career. by the way, you missed the allselected() function to calculate sub totals that everyone else talks about all the time lol.
Super bedankt ! Clearly explained and helps getting on track, removing the fuzz and confusion!
In DAX world, table filters are not healthy when it comes to performance (report, code, capacity usage etc.).
I have seen many RUclipsrs making this mistake, and people learn those methods without knowing the impact (Example: dimCustomer in YT Video may have x number of records where as in reality it might be (x+n) rows with hundreds of columns.
Was happy to see REMOVEFILTERS(dimCustomer[Customer Name]) at last somewhere instead of ALL(dimCustomer).
Thank you
Tack!
Seriously impressive introduction to Dax. Will be recommending it to colleagues starting their Power BI journey. Fair play Bas!
Oh wow! Thank you so much for supporting the channel and your kind words. It means a lot Conchúr!
Probably the best explained video I have seen about DAX, thanks a lot !
Glad to read this Erik!
Thank you, Bas, for this very useful information. Also, clear and precise, as always!
9:30 - How does the calculate function 'know' that it's by 'Customer Name' and not by e.g. 'Customer Segment' or 'City'?
Another amazing video by the guy that's better than Netflix! Thanks again Bas!
I have a question though: Is there a way to filter by using only part of the value and not the whole word? For example instead of finding all Sales for which [Product Category] ="Hair", can we find all Sales for every [Product Category] that contains let's say the letters "*AI*" somewhere in the [Product Category] field?
Where can I get the raw files for practice. Customer tbl , product tbl , sales tbl?
In the calculated columns that you used to classify the customers what if you had to have a slicer by product and the class of client had to change depending what product you select? Everything I read says that calculated columns are static and calculated when the table is built but you can't use a measure has the first columns of a matrix so I can't think of a way to resolve this.
Hello, your videos are always very helpful...
Can you help me with the day to day % change. I was trying to do this for the share price analysis.
sure, think this will help get you there ruclips.net/video/I8Y5fBGwqeQ/видео.html
Bruv you need to go a long way in making DAX playlist.
I'm very confused about KEEPFILTERS VS ALL(ALLSELECTED). Messed up my brain!
:) let’s see have a look here: ruclips.net/video/rvpKSH3zRcg/видео.html
thanks for this video
i have a query on while calculating average sales it has been mentioned there is filter context which was not there before . can anyone clarify where is the filter context came on customer name ?
Hi, is there a way to get a specific date values thru DAX e.g. getting the sales every 1st of the month then comparing it with current sales value. I tried using CALCULATE and FILTER but the 1st day sales only shows on the total rows but doesn’t show up on each rows. It will only show the per row values if the selected report date is 1st of the month. Hope you can cover it in your future video
Insightful. Please make a video on fabric
Great video!!! Really important to understand this concept !
Hi Bas! Thanks a lot for this video and all of them, i'm new at dax and your channel is being really useful.
I'm having trouble understanding context transition.
I've tried appying the calculate(sum()) formula, but it doesn't respect the calendar table filter. If i use a meassure it works correctly, but i think i need a calculated column with the amount, since the goal is to label the customer according to 3 categories for the amount of income of each one. Could you give a hint? thanks in advance.
Kind regards.
calculate(sum(salesamount)) should give you the same as a measure [Total Sales] .. not sure where you go wrong
From the title I thought this was a beginners guide, but definitely not. Will come back to this video later when I actually know more about DAX and know what Bas is even talking about haha
IMHO understanding row context, how filters flow from dimension tables to the fact table through relationships to create subsets how the CALCULATE function creates context transition are key aspects when learning DAX.
Agree
Could you make a video showing how to create a stock price variation line chart that always start on 100% doesn’t matter the start date you select in the slicer?
Please do you have some LinkedIn Learning trainings available? Thank you!
Thank you, that was super informative! I will definitely use these tips in my daily work!
I need to send an apology message to my boss cos I've calculated a whole lot of rubbish 😂
Ahhahahgood one at least now its over!
Such a golden video! Thanks a million.
This video should be used by MICROSOFT as reference .....for me dax was like a rocket science ....but after watching this video its so easy....thank u so much
Hello Bas, thanks for your videos, I learned so much. Can you share also the name of the cream or hair product you use in your hair? Its really nice. 😊
haha lol! of course 😉 .. Layrite original pomade, spray, and beard oil
@@HowtoPowerBImany thanks Bas ❤🎉 I have already requested 😂
Your are the best BAS. Just what I need.
Thank you, greetings from Perú.
All the best Hugo!
Hi I have a power bi question. My rows are different places and my columns are different toys sold at those places. I want to measure a specific toy and check what they did in Q1 and Q3 in year 2021 and next to it before the next toy I want to see Q1 and Q3 year 2022. However when i do that the 2022 only starts after all the quarters of the previous year is filled how do I put both years together as a measure to see If I am profitable?
good job man well explained!
Awesome!!! I just started using variables watching your video 👍👍
thanks for explanation, this video really help me to understand the more about the difference.
You are welcome JC all the best!
thanks for your tutorial!
How do you make a new line when you write the commands? Is wrapping just to make the formula more readable?
yes, exactly - just makes it more readable (and easier to spot mistakes) -> shift + enter .. ruclips.net/user/shortsI5HSerFTSDI?feature=share
Great video!
In the last example, would it not be better to remove all filters on the dimCustomer table and not just on Customer Name that may not even be unique? There may still be a filter on customer no or customer id or something.
if you would add a further breakdown to the visual (for example customer segment) it would lead to a different result (% of overall total vs subtotal) .. just depends on what you are looking for -> work with the minimum number of columns to reach your goal
Is it possible we can show Top 5 and Bottom 5 sales in one chart. If yes how. Please make a video on this
Thanks in advance
What is the difference between using REMOVEFILTERS() and ALL()?
Love your approach.
how much SQL knowledge is required for Power BI developers with 2 to 3 years of experience, and in an organization, do Power BI developers have to handle SQL tasks themselves or is there a dedicated SQL team for that?
I still cannot get my head around this. So I started tampering with the same expression and when I applied the same code but without the calculate the same numbers were returned for customers regardless of whether I used Allcustomers or just Customers. It seems that the row context of fctsales[sales], which is a calculated column, overrides the preceding row context on customer, that is Allcustomer behaves the same as customer alone. If you could please clarify this would appreciate it.
I come back to this video all the time.
Great tutorial. Straight to the point and everything was explained clearly.
Really helpful and great instructional video Bas!
Thanks Bas! As always, making sure I don't get too sloppy with my DAX.
thx for watching Rick!
Please make a video about APIs!
I have too much data without PBI connections (as Google sheet, we use Zoho mail). And it has been a painful journey to work like this lmao
Killer content as usual Bas. If only video's like this were around when I started trying to learn Dax!!!
Thank you so much Peter, that's really nice to here! 😊
Your channel is underrated
That was informative and straight to the important points thank you
This was really useful, thank you!
Great thanks from India 🇮🇳 🇮🇳 🇮🇳 namaste
Nicely explained. Thanks a lot for the useful content.🔥
Loving too much your videos and explanations. Congrats
Great video Bas !
Thanks!
Amazing
I got the Dax summary in 20 minutes thanks
hope dax will be easy(ier) from here on now :D - thx for watching Jigs!
How can I download the examples? Tks.
The download link is in the description of the video -> my.datatraining.io/course?courseid=howtopowerbifiles
Bas, how to count % of sales - total quantity ??
Basic question...Is DAX case sensitive?
Filter function?
how do you make the measure bar that big with lines?
ctrl + to zoom in
@@HowtoPowerBI alt+enter worked with me.
Thank you 😊
I adore your work man!