Join multiple tables in a PivotTable

Поделиться
HTML-код
  • Опубликовано: 22 июл 2024
  • ★ Want to automate Excel? Check out our training academy ★
    exceloffthegrid.com/academy
    ★ Download the example file:★
    exceloffthegrid.com/combining...
    ★ About this video ★
    When most people use PivotTables, they copy the source data into a worksheet, then carry out a lot of VLOOKUPs to get the categorization columns into the data set. After that, the data is ready, we can create a PivotTable, and the analysis can start.
    But we don’t need to do all those VLOOKUPs anymore. Instead, we can build relationships that combine multiple tables and automatically create the lookups for us.
    In this video, I will show you how :-)
    ★ Download 30 most useful Excel VBA Macros ebook for FREE ★
    exceloffthegrid.com/
    ★ Where to find Excel Off The Grid ★
    Blog: exceloffthegrid.com
    Twitter: / exceloffthegrid
    #MsExcel #PivotTables #PowerPivot

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

  • @mariamelaniereyes2691
    @mariamelaniereyes2691 3 года назад

    Thank you Mark, your video uploads are gifts of knowledge.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 года назад +1

      Thank you. That's very kind of you to say :-)

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

    Hi Mark. Great tutorial! My first pass at it was to load the three tables into Power Query and then merge twice to a new combined query using Left Outer joins on Sales Data with SalesRepID and ProductID.. then close and load to a Pivot Table Report. Now I see this was much more work than just setting up the relationships through the relationship manager or directly with Power Pivot and Diagram View. Thanks for the great tips and inspiration to learn and practice a new method :)) Thumbs up!!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 года назад +1

      The Power Query method is the correct way to do it. Go with that if you already know how to. 😀
      But since many people don’t know about Power Pivot, then this was my sneaky way of introducing it, and trying to make it seem less scary.

    • @wayneedmondson1065
      @wayneedmondson1065 3 года назад +1

      @@ExcelOffTheGrid Thanks! Nice to know both ways :)) Cheers!!

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

    Thanks Mark! First time I've learned primary/foreign

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

      Thanks, glad I could help you pick up some new terms. 😀

  • @marglego9079
    @marglego9079 3 года назад +1

    Tutorial, perfect n clear, THANKS!

  • @NataliaGarcia-wk9xk
    @NataliaGarcia-wk9xk Год назад +1

    GREAT TUTORIAL! THANK YOU!!

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

    Helped, thank you!

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

    I got a message that says duplicate values. I didn’t know how to fix it. Can you explain more on the meaning of duplicate values.

  • @nsanch0181
    @nsanch0181 3 года назад +1

    Thank you Mark for the great video. That is neat relationships can be made without even going into Power Pivot. I wonder if there is any faster way to get the 3 tables into the model; Or do you have to go through the steps of making tables then forming relationships. Not that it's too much work.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 года назад

      This is probably the fastest way. But I doubt it is speed that we are looking for in most circumstances.
      To build robust flexible models, then going through Power Query into the data model is by far the best option.
      I’m hoping this video opens up Power Pivot and the concept of relationships to more people :-)

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

    Hi! Thanks for a great video! Is it possible to do a many-to-many join using this method? For example, one table is sales of pastries (columns: date, item, quantity). The second table is list of ingredients (columns: item, ingredient). I'd like to left outer join these two tables on item, to get a view of how many ingredients are used based on sales

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

      This video shows a simple approach to joining Tables, so you can't do a many-to-many directly with this method.
      There is a left outer join in Power Query which could achieve what you are looking for easily.

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

    Bravo!!!

  • @lpanades
    @lpanades 3 года назад +1

    Very nice

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

    Hello Mark, I have one question.
    I have created 2 tables on the Excel sheet (I have labelled them as week 1 & week 2 table respectively). both the tables have same headings but the data inside the table is different. I'm trying to filter or use a Pivot table where i can filter one table at a time. For eg: If i have created 10 Tables in a worksheet all with the same headings which would be labelled Week 1, week 2, week 3..... and so on till 10. how can i filter to show only one of the tables on the excel sheet ? Please help.

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

      I would recommend using Power Query to combine the Tables into a single Table where the first column is the week number
      Once you’ve achieved that you can do almost anything you like with the data.

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

    is there a workaround for a mac? Powerpivot oand data models are not available on mac.

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

      There is nothing native on the Mac or Excel Online.
      Unfortunately I think the only option is a running an instance of windows on the Mac. Sorry.

  • @mirrrvelll5164
    @mirrrvelll5164 3 года назад +1

    Good but not every version of Excel has Power Pivot...but definitely great thing.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 года назад

      Unfortunately Mac and Online are not quite there yet. Maybe one day :-)

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

      @@ExcelOffTheGrid is there any other way to join multiple tables into a pivot table for mac?

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

    First time ever I'm first!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  3 года назад

      If you watch videos on double speed, you can be first more often :-)