Optimizing SUMMARIZE by using ADDCOLUMNS - Unplugged #40

  Рет қаралды 25,910

SQLBI

SQLBI

Күн бұрын

Пікірлер: 43
@kot23
@kot23 2 жыл бұрын
Your videos are a wealth of information, it's like unlocking DAX superpowers! Thanks for your efforts, keep it up please.
@Anthony_Lecoq
@Anthony_Lecoq 2 жыл бұрын
What a master class! Thanks Alberto for sharing those tips and tricks. And your way of reasoning. Very valuable :)
@christopherhaas8637
@christopherhaas8637 2 жыл бұрын
I love the method of comparing your [Test] measure to the original measure to ensure that the expected result is still obtained. I already wrap my SUMMARIZE() in ADDCOLUMNS(), but this was a wonderful tip to learn!
@sane7263
@sane7263 2 жыл бұрын
Read that article just a couple of days before, now I am super saiyan🔥🔥🔥
@tARasKoni
@tARasKoni 2 жыл бұрын
Best ever cooking show! I just try to absorb and repeat way of thinking Thank you, Alberto!
@Yo-px9xw
@Yo-px9xw 2 жыл бұрын
it was amazing to watch how do you analyze a problem and solved it. Please make more videos like this one
@sarajvo2010
@sarajvo2010 2 жыл бұрын
I like part Test to return zero to check optimisation. As always, simple and great video. Thank you!
@gezin_longuevilleosaer4245
@gezin_longuevilleosaer4245 2 жыл бұрын
Great video, thanks a lot Alberto!! I had a similar issue and now the performance is so much better and faster.
@santoshraghunath8133
@santoshraghunath8133 2 жыл бұрын
You are the best Alberto !!!
@thiagopacifico9283
@thiagopacifico9283 2 жыл бұрын
Ciao Alberto, Thank you for this class. I really appreciate it. Thiago Pacifico
@oliveroshea5765
@oliveroshea5765 2 жыл бұрын
Thanks Alberto, Buon Anno
@viniciusfernandes3552
@viniciusfernandes3552 2 жыл бұрын
Amazing. Thanks for the class. Cheers.
@johansantacruz6464
@johansantacruz6464 2 жыл бұрын
Thanks to help us to improve with each video.
@JohnSullivan1
@JohnSullivan1 2 жыл бұрын
Another great video that takes the complex and makes it seem simple and understandable. Thanks Alberto!
@kayliedoe2312
@kayliedoe2312 2 жыл бұрын
Excellent video as always
@kamilkalecinski4115
@kamilkalecinski4115 2 жыл бұрын
Great video Alberto! I believe it will be very appreciated if you would consider to make more videos with popular incorrect functions usage and obvious (for you, not us!) solutions. I nominate FILTER function as a next example.
@sue_bayes
@sue_bayes 2 жыл бұрын
Like the use of subtracting test measure from original measure to validate results.
@egorshiyanov1206
@egorshiyanov1206 2 жыл бұрын
Best explanation as always! Keep up the good work 👍
@wmfexcel
@wmfexcel 2 жыл бұрын
What a convincing example! Thanks for the video! :)
@lorenzoladejobi8701
@lorenzoladejobi8701 2 жыл бұрын
Very educative! Thank you Sir.
@ramonillarramendi3191
@ramonillarramendi3191 2 жыл бұрын
Wonderful! Thank you very much.
@rdg515
@rdg515 2 жыл бұрын
I’d like to see more debugging videos! Nice job!
@SandipanSarkar-c8v
@SandipanSarkar-c8v 6 ай бұрын
Finished watching
@hokki28
@hokki28 2 жыл бұрын
Very useful, thanks for this tip!
@FredericLEGUEN-Excel
@FredericLEGUEN-Excel 2 жыл бұрын
Wow! Impressive course to learn how to optimize a measure 👏👏👏 But I don't understand with you embedded DISTINCTCOUNT inside CALCULATE (and only one argument in calculate)
@siddheshamrutkar8684
@siddheshamrutkar8684 2 жыл бұрын
Superb...
@Bharath_PBI
@Bharath_PBI 2 жыл бұрын
Thank you
@aaronrodriguez6833
@aaronrodriguez6833 2 жыл бұрын
Awesome video. Thank you for the knowledge share. One unrelated question. What keyboard do you use? lol
@SQLBI
@SQLBI 2 жыл бұрын
You can find it here: www.sqlbi.com/blog/alberto/2021/02/14/on-my-recording-gear/
@MoonShine-bs6cl
@MoonShine-bs6cl Жыл бұрын
How do i get the date column from fact table to another table which is having only many to many relationship on both the tables, how do i solve this as payment dates have multiple transactions and i have to map with policy number to take the average days
@giri41
@giri41 2 жыл бұрын
Hello sir, I have three tables customers, materials, invoices . There is no direct relationship between customers, materials but through invoice. How can I work on customer attributes with materials please?? Help
@tommynguyen4253
@tommynguyen4253 2 жыл бұрын
If we use extended columns in Vendor table (not in Order table), would addcolumns still work?
@Piece101
@Piece101 2 жыл бұрын
Thank you Mr.Alberto. one question, can we further reduce the code by avoiding second variable vSum by putting ( "@PO" > 2 ) in calculate function in Addcolums. I'm new to DAX, sorry if question is not valid ☺️.
@wilsonman8661
@wilsonman8661 10 ай бұрын
Functionally, yes. However, variables also help with code readability (both for other people and for future you).
@jessamhan
@jessamhan 2 жыл бұрын
using SUMMARIZE/ADDCOLUMNS to replace an olden full SUMMARIZE is always a good idea. As far as I remember this was one of the first optimizing hint you and Marco gave us way back. However, doesn't the presence of DISTINCTCOUNT play a substantial role in the suboptimal performance in this case. It sort of inflates the performance result when used with SUMMARIZE doing the aggregations instead of ADDCOLUMNS?
@SQLBI
@SQLBI 2 жыл бұрын
There are several cases where SUMMARIZE does not expose performance issues, such as the case of a simple SUM. However, you should evaluate case-by-case, so as a rule of thumb avoiding it is simpler.
@NareshOjha
@NareshOjha 2 жыл бұрын
Or better use SUMMARIZECOLUMNS
@joanbelmar
@joanbelmar 2 жыл бұрын
@@NareshOjha I guess that SUMMARIZECOLUMS will not work because it doesn't support context transition.
@princecena
@princecena 2 жыл бұрын
I have a quick question. [@PO] is created using ADDCOLUMNS and this column does not have any data lineage. So how this column in being used as a filter in the vTable inside CALCULATE. Is it the case that this column is being ignored while the vTable is used as a filter.
@SQLBI
@SQLBI 2 жыл бұрын
That column is ignored for the filter context because it does not have any data lineage, indeed.
@omalinsky
@omalinsky Жыл бұрын
13:09 - As you have seen, that was an easy one.
@siddheshamrutkar8684
@siddheshamrutkar8684 2 жыл бұрын
Can you make a video on Dedicated and Shared Capacity in power-bi along with the difference.. Which will make life easier for most of the org and even developers like me.. 😊
@powerbinareal
@powerbinareal 2 жыл бұрын
Insano @powerbinareal
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 41 М.
When to use KEEPFILTERS over iterators
18:56
SQLBI
Рет қаралды 50 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 53 МЛН
Optimizing time intelligence in DirectQuery
18:09
SQLBI
Рет қаралды 6 М.
Optimizing nested iterators in DAX
17:31
SQLBI
Рет қаралды 22 М.
Understanding data lineage in DAX
18:14
SQLBI
Рет қаралды 31 М.
Actual v/s Rolling Budget in Power BI
19:23
Goodly
Рет қаралды 17 М.
DAX Fridays! #145: SUMMARIZECOLUMS
11:15
Curbal
Рет қаралды 42 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 53 МЛН