Тёмный

Introducing CALCULATE in DAX 

Подписаться
Просмотров 75 тыс.
% 1 774

This video introduces CALCULATE, the most powerful and complex function in DAX.
Article and download: sql.bi/749147?aff=yt
How to learn DAX: www.sqlbi.com/guides/dax/?aff=yt
The definitive guide to DAX: www.sqlbi.com/books/the-definitive-guide-to-dax-2nd-edition/?aff=yt

Наука

Опубликовано:

 

26 апр 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@mathsexperts4901
@mathsexperts4901 Месяц назад
This is the best RU-vid channel for learning DAX, I am learning so much from these videos. This channel really deserves to have more subscribers. I would love to purchase their DAX courses, but unfortunately prices are higher than my current income. I am following all of their youtube videos and free courses
@snakeeyesOFFICIAL76
@snakeeyesOFFICIAL76 Год назад
this videos and channel deserve many more subscribers and views that they have... it is a hidden treasure
@jjpp1970
@jjpp1970 2 года назад
Alberto, You are an expert in Dax and an expert in teaching. Congratulations for those strengths. Thank you for your great explanations.
@aslakjonhaugen3004
@aslakjonhaugen3004 2 года назад
I wish this video existed some years ago when I tried to learn Dax! Fantastic way of describing the Calculate function! More videos of this type! 🙂
@mikeycbd
@mikeycbd 10 месяцев назад
Wow, these are some of the most crucial lessons to learn. Thank you from Melbourne Au.
@unboxingcategory3353
@unboxingcategory3353 2 года назад
you are amazing, Iam a data analyst in Egypt, following you and your website, thanks for this amazing work DAX programming language is coming
@augustotanaka
@augustotanaka 2 года назад
This 101 series is lovely! Thanks for all the knowledge!
@sandeepbarge4699
@sandeepbarge4699 2 года назад
Thanks for the series once again! Great video!
@wigf173
@wigf173 2 года назад
Excellent video, as always! This series is great.
@evedickson2496
@evedickson2496 2 года назад
Brilliant video as always... even when I think I know the subject being shown, there is always a golden nugget I can learn and then use in work 😊😊
@giorgikvatchadze4928
@giorgikvatchadze4928 2 года назад
I find your videos very insightful, easy-to-follow and useful!
@gborka
@gborka Год назад
Thank you for sharing, really great idea to build the understanding layer by layer: *Row Context *Filter Context *CALCULATE Function *Context Transition
@felixosagie7130
@felixosagie7130 2 года назад
Thank you so much Albert. This is very explicit and insightful. Much appreciates
@MrMalorian
@MrMalorian 2 года назад
Yup, this is exactly what I keep messing up. The idea that the calculation overrides the visual filter is hard to get my head around. I just need to keep watching this video when it happens :)
@kostaskolotouros4345
@kostaskolotouros4345 2 года назад
Another great video! Thank you so much!
@reportingmitpowerbi
@reportingmitpowerbi 11 месяцев назад
Great and precise video (as always), really helpful for my job as Power BI Trainer/Consultant...Keep up the good work, thank you so much, mille grazie :)
@vietndk5437
@vietndk5437 2 года назад
Thanks for the vid, Albert. Have a nice day
@flyingdutchman9804
@flyingdutchman9804 Год назад
Fantastic, thanks for sharing!
@edwardwernich9259
@edwardwernich9259 Год назад
Great video, thank you!
@Anihe
@Anihe 11 месяцев назад
God how I love this channel ❤
@Bremerhaven_Rocks
@Bremerhaven_Rocks 2 года назад
Thank you. Can't wait for the Context Transition video =)
@willwildwest31
@willwildwest31 Год назад
Loved it!!
@MrXmaciek
@MrXmaciek Год назад
good job. i like the way how you are explaining things
@1yyymmmddd
@1yyymmmddd 2 года назад
Thank you for another great video. Never considered that FILTER (Products, ...) filters entire expanded table.
@isidrebague3659
@isidrebague3659 2 года назад
As allways, Great! thanks you!
@beatrenger
@beatrenger 2 года назад
Fantastic Content! Very cool. It has helped me a lot!!
@amarnadhgunakala2901
@amarnadhgunakala2901 2 года назад
Its most useful ,thanks
@nguyenanao4078
@nguyenanao4078 Год назад
Great! Thank you
@pbihari0214
@pbihari0214 2 года назад
Thank you
@user-lm5wb8vi1x
@user-lm5wb8vi1x 2 месяца назад
Finished watching
@phupt132
@phupt132 7 месяцев назад
Hi Alberto, many thanks for these very hepful videos. Just a quick question for newbies as follows: At 5:55. Red Sales overwrote the outer filter context which is by Color (all the rows are with values 382,601) but why the filter context by Brand, it doesn't overwrite as we can see Red sales by across different brands.
@karannchew2534
@karannchew2534 Год назад
10:28 People try different combination until one that works. That's me! But hopefully not any more!
@kananparmar9656
@kananparmar9656 2 года назад
Hi @Alberto Ferrari sir what dax we should make so that it can give us the break-up sale value for both if we take Brand or Color in single table view.
@meilstone
@meilstone 10 месяцев назад
How do you access values of a column in an unrelated table 'Y' when defining a new measure in table 'X'?
@karannchew2534
@karannchew2534 Год назад
Notes for future revision. Why / when use CALCULATE()? 1. Change filter context. 2. Enbale context transition.
@hage131
@hage131 10 месяцев назад
Great video! Can I found somewhere the sample pbix used for the tutorials?
@SQLBI
@SQLBI 10 месяцев назад
Follow the link in the video description
@mwaltercpa
@mwaltercpa 2 года назад
Appreciate this video and the reminder to use KEEPFILTERS() over FILTER(Table). Question Alberto, if my entire page requires only calculations on the same customer subset, is writing KEEPFILTERS in each of my DAX measure more performant than using a single page filter over the whole report page? I ran into slow performance using a page filter… I rebooted, installed a new version of desktop, wrote my filters in calculate, and it performed much faster.
@SQLBI
@SQLBI 2 года назад
It's hard to say - but a page filter in Power BI is just a column filter. Hard to say without a deeper analysis.
@maxpayne6317
@maxpayne6317 Год назад
7:15 But here the calculate filter doesnt override the outer filter context right? Its combined together from my understanding.
@ssss54
@ssss54 3 месяца назад
@SQLBI at time 11:18 if we woulf have had ALL(Product), Product[Color] = "Red" then the outcome would have been different. Can you please elaborate the difference between the two please.
@robertkiermasz4513
@robertkiermasz4513 Год назад
good movie :)
@tombennett7317
@tombennett7317 2 года назад
Great video. Can you explain how PREVIOUSDAY works as a CALCULATE filter? The documentation says it just returns a single column table of dates so why does that work as a filter?
@SQLBI
@SQLBI 2 года назад
Every time intelligence function returns a table, and every filter is a table. See this: dax.guide/previousday/
@tombennett7317
@tombennett7317 2 года назад
@@SQLBI thank you for the response. I did check that out but it only confused me further. I'm struggling to understand how a table returned by a filter (especially a single column table) tells the calculate function what to do. In this instance the filter is just a row of dates, how does calculate know how to use and apply those dates?
@SQLBI
@SQLBI 2 года назад
You should get a complete explanation of the filter context. A filter is always a table in the filter context. Start with the free Introducing DAX video course www.sqlbi.com/p/introducing-dax-video-course/, or read other content about the filter context: www.sqlbi.com/articles/filter-context-in-dax/
@asrahussain8642
@asrahussain8642 9 месяцев назад
he's the most italian person i've ever seen
@qasimjan5258
@qasimjan5258 2 года назад
Are you going to do a series on Calculate?
@SQLBI
@SQLBI 2 года назад
We already have a full training for that! Look at the free Introducing DAX training and the path to learn DAX at www.sqlbi.com/guides/dax/
@workstuff5253
@workstuff5253 2 года назад
As someone learning DAX, if I were to be explicit, and write the full FILTER instead of the shortened predicate, do you know if performance would be the same? EDIT: Also, you mention "Never filter a table - only the columns you need". What is the correct way to filter columns when ALL isn't an option as VALUES only accepts a single columns. Thanks for the great video.
@SQLBI
@SQLBI 2 года назад
See these articles/videos: www.sqlbi.com/articles/filter-arguments-in-calculate/ www.sqlbi.com/articles/specifying-multiple-filter-conditions-in-calculate/
@Milhouse77BS
@Milhouse77BS 2 года назад
Yea🎉
@bobkiggundu9010
@bobkiggundu9010 2 года назад
Incredibly helpful lesson to understand the fundamentals of Calculate function
@user-bk8db7ud6k
@user-bk8db7ud6k 6 месяцев назад
In this case, Ferrari is not second to Red Bull...
@user-ui2wu6mm9l
@user-ui2wu6mm9l 14 дней назад
Всё это, конечно, очень интересно... Только было бы гораздо понятнее на русском языке )))
@Charlie888
@Charlie888 Год назад
Далее