XLOOKUP v Power Query v Power Pivot in Excel

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025

Комментарии • 67

  • @russ6010
    @russ6010 7 месяцев назад +1

    Best channel on RUclips

  • @IvanCortinas_ES
    @IvanCortinas_ES 2 года назад +3

    I love the old Power Pivot. I believe that the tool emerged at a time of transition and was never realistically taken into account by companies. Without a doubt, Power Query is a very powerful tool, present and future of our lives ;)

  • @GeertDelmulle
    @GeertDelmulle 2 года назад +1

    Nice comparison, Wyn.
    BTW: in your scenario it suffices to refresh the Power Pivot table, just like you would an output table.

  • @Adam_K_W
    @Adam_K_W 2 года назад

    Another good use case for Power Query is when you're merging tables from an external source that is subject to change (i.e. have more and more records added as time goes by). Simply refreshing everything will add the new rows to the table you've loaded to as you go. With XLOOKUP, if you aren't necessarily using Excel Tables, you'd have to manage your formulas as the data sets update.

  • @excelemployeeleavetracker1274
    @excelemployeeleavetracker1274 2 года назад +1

    Great video... this shows the benefits of all three methods within Excel.

  • @JJ_TheGreat
    @JJ_TheGreat 2 года назад +1

    7:17 Interesting, I look forward to that video! 😀

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Coming in a couple of days

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      New video : ruclips.net/video/AAgzIXWgASg/видео.html

  • @JJ_TheGreat
    @JJ_TheGreat 2 года назад +2

    6:27 Yeah, you have to make sure you have a list of unique values before you do a merge queries with Power Query!

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Totally

    • @williamrhopkins
      @williamrhopkins 2 года назад

      Depends what you want. If you have a legit many to many relationship then PQ is providing the correct results

  • @ze0000
    @ze0000 2 года назад +1

    You can add tables to data model without query them in power query. It avoids to duplicate the tables in pivot table panel.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      You can Jose, but I wouldn't recommend that approach as Power Query adds a lot of robustness and flexibility if things change in the future. The "Add to data model" option is what we used to have to use before Power Query "load to data model" was an option.
      I totally agree that showing the non loaded tables in the Power Pivot Fields Panel is horrible and something the Excel team should disable. I (and other MVPs) have flagged this numerous times to them.

  • @DiptaGhossan
    @DiptaGhossan Год назад +1

    I learned a lot for your videos, and after learning for few days, i can already start implementing power Query and power pivot for my data. I have a question though, i have 7 tables that connects to each other, however why is it that only 3 tables shown in the field item list of my pivot? how do i get the rest also in? thanks in advance for your advice

    • @AccessAnalytic
      @AccessAnalytic  Год назад +1

      Check the top of the Pivot Table field list and you will see Active and All. Click the All option

  • @garethwoodall577
    @garethwoodall577 2 года назад +1

    Great tips Wyn!

  • @chandanlimma3443
    @chandanlimma3443 2 года назад +1

    This is brilliant as ever. Thanks

  • @pascaljoly5752
    @pascaljoly5752 10 месяцев назад

    when i try to do a 2-way Xlookup but with tables on different sheets within the same file or from 2 different files, it doens't work. it only works if both tables are on the same sheet. is there a fix?

    • @AccessAnalytic
      @AccessAnalytic  10 месяцев назад

      Not sure what you mean by 2 way XLOOKUP. The sheets the tables are on shouldn’t matter for XLOOKUP

  • @Luciano_mp
    @Luciano_mp 2 года назад +1

    Great tips! Thanks!

  • @oldschoolreviewer1133
    @oldschoolreviewer1133 2 года назад

    How to address in power query one to many relationships?

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Can you explain a bit more? A power query merge will bring in all matches from the many side

    • @oldschoolreviewer1133
      @oldschoolreviewer1133 2 года назад +1

      already have.. watch it from some of your Videos.. Thanks a lot..

  • @danjarupath
    @danjarupath 2 года назад +1

    Hello this is awesome 😎😎😎

  • @roywilson9580
    @roywilson9580 2 года назад +1

    Surely the sum of cost should show the total cost per item,? It would have been fairly easy to multiply the units by the cost in either Power Query or Power Pivot.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +1

      Hi Roy, yep, wasn’t the aim of the video but a SUMX function would allow me to calculate units x cost on a row by row basis to give total cost

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +2

      Yours and another comment has prompted next week's video 😁

    • @roywilson9580
      @roywilson9580 2 года назад +1

      @@AccessAnalytic I will look forward to seeing it :)

  • @1976misspink
    @1976misspink 2 года назад

    I wish power query could do many to many relationships. how do you get around this?

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Power Query will create a combined output of the 2 tables with the double ups that appear as per my video. PowerPivot can’t create many to many. Normally creating a bridging table is the best approach.

  • @JJ_TheGreat
    @JJ_TheGreat 2 года назад

    3:53 But how do you do that? Is it in the settings somewhere?

    • @excelemployeeleavetracker1274
      @excelemployeeleavetracker1274 2 года назад

      Go to Data on the top ribbon...then follow his instructions

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +1

      Get Data-> Query Options -> Data load-> Specify custom default load settings & uncheck to load to boxes

  • @williamrhopkins
    @williamrhopkins 2 года назад +1

    Power Pivot doesn't handle many to many relationships well. Power Query does. Also PQ lets you use many different join types -- the anti join is good for finding differences between tables.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      Yep, Many to Many is not allowed in Power Pivot. I’m a fan of the anti join 😀

  • @iduncanw
    @iduncanw 2 года назад +1

    Nice 👍, however....
    I don't understand why the "Sum of Cost" in the Power Pivot isn't actually a Sum? If you did the XLOOKUP or Power Query merge and had a Pivot Table it would have 3 for Apple, 6 for Banana etc. Surely this could be a legitimate use case and the Power Pivot option just looks wrong and is not the same result.
    It's like it hasn't really joined them as if I did this via a normal database join, I'd get a Sum.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +1

      Hi, I wasn't really thinking about demonstrating Total Cost in this video but I would need to write the following DAX formula to get the total
      =SUMX( tblData, tblData[Units] * RELATED(tblLookup[Cost] ) )
      This function creates a temporary column of Units x Price and then SUMs it.

    • @iduncanw
      @iduncanw 2 года назад

      @@AccessAnalytic thanks for the extra tip. Still seems strange behaviour that you need to do that.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +2

      @@iduncanw - you've prompted next week's video 😁

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      @@iduncanw new video: ruclips.net/video/AAgzIXWgASg/видео.html

  • @kudifilipe9875
    @kudifilipe9875 2 года назад +1

    Thanks, sharing

  • @TheJoshtheboss
    @TheJoshtheboss 2 года назад

    Amazing channel.

  • @chiragdabhi4929
    @chiragdabhi4929 2 года назад

    I have large raw data...approx 19lakh raw...when I am going to use power pivot from power query that data..then only count value shown.i found error when conver to average or sum value.i already remove null value and data convert to whole number.
    Any thing else need to do?
    I am using Excel 2016 inbuilt power query.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      If the column you are averaging or summing is set to a whole number data type then it should work. Are you writing a DAX measure for your calculation?

    • @chiragdabhi4929
      @chiragdabhi4929 2 года назад

      @@AccessAnalytic no dax.simple raw data...that convert into whole number(kpi value) ...in raw data some null and Nan value there so just filter out in power query.after power query going for power pivot.i need district wise kpi so district wise count shows but that data not convert into some our average value.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад +1

      Most likely reason is other non-number value in your column. Also I strongly recommend you use DAX for all displayed values and aggregations to future proof your report

    • @chiragdabhi4929
      @chiragdabhi4929 2 года назад

      @@AccessAnalytic thank you for valuable reply.
      I have learn lots of from your channel.🙏

    • @roywilson9580
      @roywilson9580 2 года назад +1

      I have experienced a similar problem with Excel 2016, it only seems to understand certain data-types - in my case it refused to accept a currency type as a number and would not accept it even after changing the type to number in Excel I have even had problems with decimal number and integer type not being recognised. I have also had problems in 2016 with excel not understanding date data types. I think it may just be a problem with Excel 2016 as I haven't run into this problem with any of the later versions of Excel. You Will also find that Excel 2016 sometimes has problems with data imported from Sage etc. All very annoying when you are working with extremely large datasets that require manipulation before loading to Excel.

  • @madacraizdesigns4934
    @madacraizdesigns4934 2 года назад +1

    GENIUS

  • @JJ_TheGreat
    @JJ_TheGreat 2 года назад

    I don't understand - I thought you were going to attempt the same process (to get the same result) through PowerPivot as the XLOOKUP and Power Query merge queries. Couldn't have you done that, in order to get the Item, Date, Units, Name and Cost together into 1 table, like you did before? You did not show how we could bring in the attributes from the other table in order to accomplish this task - as an alternate method.

    • @AccessAnalytic
      @AccessAnalytic  2 года назад

      At 9:49 I’ve created a pivot table containing elements from both tables. This is the beauty of the Power Pivot approach is that you only have to display what you need

  • @gerbherb8215
    @gerbherb8215 Год назад

    In my opinion XLOOKUP and PowerQuery are the two ways to combine tables, whereas Powerpivots are summarising table data. Essentialy two different things.

    • @AccessAnalytic
      @AccessAnalytic  Год назад

      The end result is the key here. If you want to report sales by region name and all you have is region ID, but in another table is ID and region name , then all 3 approaches are valid options depending on your reporting need.

    • @gerbherb8215
      @gerbherb8215 Год назад +1

      @@AccessAnalytic You are correct but I think that's not where my focus was, so let me try to put it in another way: with XLOOKUP and PowerQuery you are combining tables, with pivots you are combining AND summarising them. In one of the comments here I saw confusement about the fact that your pivot had different numbers. Maybe good to explain this summarising aspect of pivots.

    • @AccessAnalytic
      @AccessAnalytic  Год назад

      Fair point, thanks