Differences between GROUPBY and SUMMARIZE

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 46

  • @elrevesyelderecho
    @elrevesyelderecho ปีที่แล้ว +16

    0:00 - 1:28 Intro
    1:29 SUMMARIZE
    6:47 ADDCOLUMNS
    11:25 GROUPBY
    19:22 Conclusions
    20:20 Final Exercise to compare both functions
    27:42 Out

  • @yeyoremix
    @yeyoremix ปีที่แล้ว +15

    I have found that the mix of groupby and summarise also comes really helpful when performing calculations over measures. For example finding the max result for a measure iterating over different groups of selected columns. This video will help me improve my calcs a lot!! Thank you!

  • @jimmyni1983
    @jimmyni1983 8 หลายเดือนก่อน +3

    Man! Really NO WORDS for this Master Piece! Kidding! Actually I DO HAVE... This is another GOLD Pill of wise! Bravo Bravo! Thank you so much again!

  • @jambesh
    @jambesh 3 หลายเดือนก่อน +1

    I would press 1K time like button if there is an option to do that. You explain the fundamental concept so beautifully with plenty of examples and the best part is "No irritating Commercial Ads" like other content creator do. You are the best !! Keep doing the great work !!!

  • @brianligat9493
    @brianligat9493 ปีที่แล้ว +2

    I'd been transferring your example to the Adventure Works model I have, got an error, played a bit more only for your comment at 2:10 LOL. Another great tutorial. Thanks

  • @adrianoschwenkberg6773
    @adrianoschwenkberg6773 ปีที่แล้ว +1

    just wanted to say thank you for the efforts in making this free tutorial

  • @RaziBriga
    @RaziBriga ปีที่แล้ว +2

    Brilliant. So many takeaways. I'm going to scan some of my complex models and see if I can improve performance with this knowledge.
    As always, SQLBI is a diamond.

  • @toulasantha
    @toulasantha 3 หลายเดือนก่อน +1

    Best channel for DAX
    No adds 🎉

  • @mnowako
    @mnowako 6 หลายเดือนก่อน +3

    Finally I have understood Groupby 😁
    Thank you!

  • @emilyamalkin4367
    @emilyamalkin4367 ปีที่แล้ว +1

    This video is so helpful! A million thanks! Thank you Roberto, can’t wait to implement what I just learned! (it is especially helpful for me as a sql programmer, familiar with “group by”, but not with “summarize”, so I am really glad to learn the usage of both!)

  • @tamerjuma
    @tamerjuma ปีที่แล้ว +4

    Brilliant and very insightful! Thank you Roberto for sharing your amazing knowledge.

  • @abhi007dhami
    @abhi007dhami 7 หลายเดือนก่อน +1

    This is really helpful ! Thanks for explaining Summarize and Group By with such detail.

  • @joaomarcoseliasmatias9156
    @joaomarcoseliasmatias9156 ปีที่แล้ว +1

    This is some gold content, Alberto. Your explanation videos give me motivation to dive into dax theory understanding.
    Greetings from Brazil!

  • @analistax
    @analistax ปีที่แล้ว

    São videos como estes que você começa a assistir quando quer sair da simplicidade de uma linguagem. Entender tudo que está em volta do básico.
    Perfeitamente, perfeito.
    Muito obrigado.

  • @alainluong3305
    @alainluong3305 ปีที่แล้ว +1

    In France, it is past midnight and I'm enjoying learning a lesson.... Are you coming from Pudlar? Cause you're Magic!

  • @DriekWorks
    @DriekWorks ปีที่แล้ว +1

    very good video; good explanation about the difference, and what not to dom and nicely working towards upper level optimisation thinking.

  • @ercipi
    @ercipi ปีที่แล้ว +1

    It wouldn't hurt to smile on your Thumbnail Alberto :)

  • @mathew9665
    @mathew9665 ปีที่แล้ว +1

    thank you for this video, an important one for sure

  • @Bharath_PBI
    @Bharath_PBI ปีที่แล้ว +1

    As always great content! 👍 Thank you.

  • @Piece101
    @Piece101 ปีที่แล้ว +1

    Golden tutorial 👌🏼

  • @eleftheriakoniari3392
    @eleftheriakoniari3392 4 หลายเดือนก่อน

    If I use this table to a table visual and have some slicers also, will be responsive to slicers? Do I need to make relationships? I tried it with summarizecolumns and didn't work and I couldn't create relationships also. Thank you so much! I have learned a lot from you!

  • @siddheshamrutkar8684
    @siddheshamrutkar8684 8 หลายเดือนก่อน +1

    Fantastic Video.

  • @g.oliveira1184
    @g.oliveira1184 ปีที่แล้ว +1

    Parabéns! Amei a explicação.

  • @Tom-kp2lv
    @Tom-kp2lv ปีที่แล้ว

    So at about 7:40 you have brand total and overall total. If I understood correctly, you said not to use that method. So what would be the best way to produce the same result, and how would you add % of total for each brand?

  • @MrAstonmartin78
    @MrAstonmartin78 8 หลายเดือนก่อน

    Brilliant Video. Thanks

  • @rajeevmenon1975
    @rajeevmenon1975 ปีที่แล้ว

    Need some guidance. I have a table with 3 columns. Date, ID and amount. Amount contains both positive and negative amount datewise, idwise. If the sum of all id is positive, it is a debtor or else it is a creditor. A measure with IF condition is not going into a slicer to filter debtors apart from creditors. How do I do this ?

  • @dutch-man
    @dutch-man ปีที่แล้ว +1

    At 26:55 SUMX is used whereas we really are performing a SUM of the column [@Sales]; is this done solely because we need to be able to add the CURRENTGROUP() as a table reference?
    Thanks

    • @SQLBI
      @SQLBI  ปีที่แล้ว +1

      Yes

  • @angelgarciadatablog
    @angelgarciadatablog ปีที่แล้ว

    Thanks to share, I have a question, whats the difference between local column and model column?

    • @angelgarciadatablog
      @angelgarciadatablog ปีที่แล้ว

      I think that I understand the different: Local column is a column that was created by dax, and Model column is a column that belongs to principal table. Please, I apreeciate if you could confirm. Thanks.

    • @SQLBI
      @SQLBI  ปีที่แล้ว +1

      Confirmed!

  • @lovlyhearts288
    @lovlyhearts288 ปีที่แล้ว

    I am having one doubt but not related to this content,
    Using teatedas Dax I connected date table and fact table. When user want to drill fact table aggregation value it's not filter date table untill I drag & make active relationship in the model, Is any other alternative way there to achieve this ?

  • @victorrivas7911
    @victorrivas7911 ปีที่แล้ว

    Sorry but I don't see the difference between the "Transaction Size" local column in 10:35 and the local table with "A" and "B" as local columns in 18:41. Both of the cases are columns calculated on-the-fly, however, in the first case SUMMARIZE() works, and in second it doesn't.
    Is this happening because of the Lineage as you say in 18:48?

  • @vishiousvish2832
    @vishiousvish2832 ปีที่แล้ว

    Thx for this leason !!!

  • @pbihari0214
    @pbihari0214 ปีที่แล้ว +1

    thank you

  • @chaitanyalanka7043
    @chaitanyalanka7043 ปีที่แล้ว

    Hi can you help me with this (I have two dates like service date and post date if we select service date the data related to service date has to show if change the date to post date the data has to show by post date in the same page in power bi is it possible?)

  • @mazenalali7810
    @mazenalali7810 ปีที่แล้ว

    great video

  • @guochuqiao
    @guochuqiao ปีที่แล้ว +1

    Genius ❤

  • @defaultHandle1110
    @defaultHandle1110 ปีที่แล้ว +1

    We need an ai to translate his Italian hand gestures to visualisations and animations.

  • @nikakalichava8012
    @nikakalichava8012 ปีที่แล้ว

    amazing !

  • @vijayvizzu1
    @vijayvizzu1 ปีที่แล้ว

    Hi could you please explain, what is local column vs model column

    • @SQLBI
      @SQLBI  ปีที่แล้ว

      Local column is created in a dax variable, model column is defined in the table (calculated columns are model columns).

    • @vijayvizzu1
      @vijayvizzu1 ปีที่แล้ว +1

      @@SQLBI Thank you 👍

  • @Negi_From_Pauri
    @Negi_From_Pauri ปีที่แล้ว

    Sometimes you look like EMINEM