Create a Many to Many Relationship Model in Power Pivot

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 104

  • @largpack
    @largpack Рік тому +4

    Why doesn't support Power Pivot this out of the box like Microsoft Power BI does? Thanks for the really helpful video!

  • @ovmov3321
    @ovmov3321 10 місяців тому +2

    Man, you are the best
    really
    i spent so much time to figure it out
    and you here just in 10 min explain everything ...

    • @DougHExcel
      @DougHExcel  10 місяців тому

      Thanks OV MOV, glad it helped!

  • @joycelau3508
    @joycelau3508 3 місяці тому

    I couldn't agree more with other positive comments below. This is by far the best explanation video. Thank you so much!!

  • @jonathanniels
    @jonathanniels 7 місяців тому

    I am going to give this a shot, it's been the best detailed explanation I found so far!

  • @derekgarner8524
    @derekgarner8524 4 роки тому +3

    I can't thank you enough. I often needed some way to combine results by a time period or market segment and this solution is so easy and well illustrated. You have made my Friday. Thank you.

    • @DougHExcel
      @DougHExcel  4 роки тому +2

      Thanks Derek Garner, glad it helped!

  • @Checkm69
    @Checkm69 8 днів тому

    Excellent video, I have been beating my head over how to do this for the last 2 days, you saved me a lot of headache.

  • @Mephistopheles019
    @Mephistopheles019 4 роки тому +1

    Finally!! After searching for a very long time I finally stumbled on this video. You’ve increased my education bigtime with this one. Appreciate it.

    • @DougHExcel
      @DougHExcel  4 роки тому

      Glad it was helpful!

    • @gianniedgar8940
      @gianniedgar8940 3 роки тому

      you probably dont care but does anyone know a method to log back into an Instagram account..?
      I somehow lost the login password. I appreciate any help you can give me

  • @tinocoan
    @tinocoan Рік тому

    The calculation step solved my problem. Thank you so much!

    • @DougHExcel
      @DougHExcel  Рік тому

      Hi Antonio Matheus Tinoco, you're welcome!

  • @LazyJoel
    @LazyJoel 2 роки тому

    This is solid! Great job on explaining DAX cross table filtering. I’d been spinning wheels more times than I can dare to count. I am now going to dazzle the masses, thanks to this!

    • @DougHExcel
      @DougHExcel  2 роки тому

      Glad it was helpful!

    • @LazyJoel
      @LazyJoel Рік тому

      Btw, on close scrutiny, I don’t think you need that extra “unique customer” filter table. The unique product bridge table s/b sufficient to pull the correct totals. It puzzled me the first time but still great example!

  • @jwf3148
    @jwf3148 4 роки тому

    An EXCELLENT tuturial - clear, organized, professional - AND - an effective learning tool...cannot ask for more than that !!! Ha !!!

  • @ericgonzalez2292
    @ericgonzalez2292 Рік тому

    This helped a lot to resolve a problem I have had for many months now!! Thanks!

  • @yabezrosy
    @yabezrosy 2 роки тому

    Thanks Dough H your video ended my 1 week search on the exact same issue I was having

  • @info2satish
    @info2satish 2 роки тому

    OMG! You've just solved my problem. Love from India ❤️🙏👍

  • @SEWEN7777777
    @SEWEN7777777 Рік тому +1

    Helped me very much, ty

  • @richardkorver7482
    @richardkorver7482 4 роки тому

    Many...many thanks....to you and the man behind your source- blog!!!

  • @john4thelove
    @john4thelove 4 роки тому

    I read that blog months ago and could not make it work, thank you this! It WORKS!

    • @DougHExcel
      @DougHExcel  4 роки тому

      Thanks john4thelove, glad it helped!

  • @haashini10031985
    @haashini10031985 3 роки тому

    Excellent Way of Teaching... Thank You

  • @heshamsaad9883
    @heshamsaad9883 9 місяців тому

    It helps so much - Gazak Allah Khier - Allah will reward you

  • @aluedemichael352
    @aluedemichael352 Рік тому +1

    This video hit the spot! great job!! however grand total of potential sales isn't accurate. how do you spin that? it has me stuck on me current work.

    • @chriscrutchley8873
      @chriscrutchley8873 Місяць тому

      Agreed. Is there any solution to get the Grand Total to sum the parts? My thought was to add this new table to the data model too, but Power Pivot doesn't allow that.

  • @soloseven007
    @soloseven007 4 роки тому

    Can't thank you enough! Been suffering with this issue for so long, and I'm so thankful to have found your help. Like & subscribe..Done!

    • @DougHExcel
      @DougHExcel  4 роки тому +1

      Thanks soloseven007, glad it helped!

  • @giordanirivas294
    @giordanirivas294 Рік тому +1

    Great solution for the dilemma of many to many relationships. My example is similar but the values repeated are percentages and I am not solving the problem with a sum formula (adding percentage is not correct). Any idea on a work around?

  • @KieuPhuongHoangDang
    @KieuPhuongHoangDang 7 місяців тому

    thank you so much, it's so helpful and thanks again

  • @jcorrea
    @jcorrea 3 роки тому

    Thank you very much!! very clear explanation!

  • @ericliu79
    @ericliu79 2 місяці тому

    Great Video

  • @noradorah8053
    @noradorah8053 2 роки тому +1

    Hello, can you have a "many-to-one" relationship in a power pivot excel file?

  • @stevesullivan457
    @stevesullivan457 5 років тому +6

    Great job. Alas, my head is spinning lol

  • @lisbongraffiti242
    @lisbongraffiti242 Рік тому

    When you add this kind of tables for a many-many relationships it can be considered a star model or is a different kind?Thank you

  • @mozhistmk
    @mozhistmk 3 роки тому

    OMG Awesome man.. you made my day ..! thanks a lot!

  • @simonhill9090
    @simonhill9090 3 роки тому +1

    Looks good, could you also get a list of the products under each category in the resulting report?

    • @DougHExcel
      @DougHExcel  3 роки тому

      Suppose so, depending on how the pivot is built out

  • @mau_vh
    @mau_vh 5 місяців тому

    Thanks man

  • @errolm8313
    @errolm8313 3 роки тому

    Thank you!

  • @johng5295
    @johng5295 4 роки тому

    Thanks in a million. Awesome!

  • @hasinarafenoarisoa7063
    @hasinarafenoarisoa7063 3 роки тому

    thank you so much for these videos!
    How to solve one to one relationship model in powerpivot, please?

    • @DougHExcel
      @DougHExcel  3 роки тому

      Sorry, don’t understand the comment/ question... but it sounds more like a lookup item? ua-cam.com/video/fzfN84kDqgU/v-deo.html

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 5 років тому

    Beautiful video. Thanks for the share.

    • @DougHExcel
      @DougHExcel  5 років тому

      Hi Syed Muzammil Mahasan Shahi, thanks for the comment!

  • @jorisvanh.9274
    @jorisvanh.9274 2 роки тому

    Thank you for the video. When applying slicers for let's say customer name, based on what table in the data model would you do this?

  • @gborka
    @gborka 3 роки тому

    thank you so much

  • @sergeyp6472
    @sergeyp6472 4 роки тому

    Thanks a lot!!!

  • @hamedu2965
    @hamedu2965 2 роки тому

    What about if you have a date column too?

  • @cassandramah9786
    @cassandramah9786 2 роки тому +1

    Great video! I'm working on a problem where I need to add another dimension to the measure formula to calculate a proportion. Essentially, CALCULATE( (sum of variable A in table 1) / (count of variable B in table 2). I get the error: "Calculation error in measure 'NameofMeasure': A function 'COUNT' has been used in a True/False expression that is used as a table filter expression. This is not allowed". Any suggestions? :)

    • @DougHExcel
      @DougHExcel  2 роки тому

      Not sure...maybe wrap it in with a FILTER function? CALCULATE( FILTER ( (sum of variable A in table 1) / (count of variable B in table 2))

  • @marcolaz92
    @marcolaz92 4 роки тому +1

    Great job!
    One question. Same example as yours, but a DATE instead of a PRICE (so no sum or counts in “Values”) - namely, a product order date for a specific customer.
    Would like to show all the orders to be placed in a date.
    Doing so, I would like to put the date at second column (after “Customer” but before “product” in your example).
    Unfortunately, it seems that the date is not linked to the product to be ordered (all the dates are present even though, from raw data, no orders should be present all the days).
    Thanks for your help!
    Marco

    • @DougHExcel
      @DougHExcel  4 роки тому

      The concept would be similar but a calendar table will be the bridging table between the two.

    • @marcolaz92
      @marcolaz92 4 роки тому +2

      Doug H it seems doesn’t work unfortunately - I have created a relationship between order dates present in the table “prod” and a new table (“calendar table”).
      It continues showing all dates present in the calendar table (no sense) and then the product associated with the customer.
      Thanks for the help

    • @French_Connection
      @French_Connection 4 роки тому

      @@marcolaz92 I also have similar situation. I was able to show number of dates within a month, quarter, etc. Totals were still wrong, but all within ranges was OK. But had to use blank so that it was not counted.. Could not take it one step further ... to map categories for groups.

  • @fernando36881
    @fernando36881 11 місяців тому

    Hi, i follow the tutorial the calculation in potentialSales row is correct but the grand total didn't calculate true it's like show the maximum value, do you know what wrong?

    • @chriscrutchley8873
      @chriscrutchley8873 Місяць тому

      Agreed. Is there any solution to get the Grand Total to sum the parts? My thought was to add this new table to the data model too, but Power Pivot doesn't allow that.

  • @giordanirivas294
    @giordanirivas294 Рік тому

    Hi Doug, I applied this solution to a sample I have. I have a Product table where the price is, a Customer table where I have many repetitive elements, and I have 6 tables for unique elements. Each of these tables with unique tables are connected to the Customer table (addressing the one to many relationships) and I also have a connection between the Product table and one of the unique tables (addressing the one to many relationship). I created a measure "xIRR" and the formula works. I created a pivot table showing the xIRR by the different elements but it only works for 2 out of the 6 tables with unique elements. Did I provided enough info to diagnosed why it is not working for the rest of the elements?

  • @MountainSnowFlyer
    @MountainSnowFlyer 4 роки тому

    This video was very helpful, and it does seem to be working for my case. I'm trying to organize my data from a main table using some groups that have a many to many relationship. However, I keep getting an error message that says: "A Pivot Table report cannot overlap another PivotTable report". Any idea what is causing that?

    • @DougHExcel
      @DougHExcel  4 роки тому +1

      Hi MountainSnowFlyer, thanks for the comment. Basically the update to one of the pivot tables in a worksheet will extend the column/rows onto another pivot table on the sheet, so a solution is to move the pivot tables away from each other (i.e., to another range or another worksheet)

  • @Tat-cx1lr
    @Tat-cx1lr 3 роки тому

    Merci

  • @motionpicts
    @motionpicts 3 роки тому

    Hi Doug, what if you don't have ProductID in your Product table, will this method be workable? thank you

  • @mattmatt245
    @mattmatt245 3 роки тому

    Can't you just aggregate "prodcat" table (group by category), then merge it with "cust" table on category field ?

  • @themerchant7494
    @themerchant7494 2 роки тому

    Sir please help, how about many to many relationship using dates

  • @errolm8313
    @errolm8313 3 роки тому

    I'm still getting errors.... Will this concept work with setting up a relationship in access and then importing into power pivot?.... I'm now at 7 tables and still can't get referential integrity between them (so it can be a clean import into power pivot)

    • @DougHExcel
      @DougHExcel  3 роки тому

      haven't tested this with Access....

  • @cavorka216
    @cavorka216 4 роки тому

    When I do this Excel creates a Connection tied to the filename. If I create a copy the new file breaks when updating. Do you know how to solve this?

    • @DougHExcel
      @DougHExcel  4 роки тому

      Sorry, don’t understand the comment/ question... maybe make a post to the mrexcel.com forum.

  • @peterfj6218
    @peterfj6218 Рік тому

    Jesus titty fucking christ. This is an absolute game changer. I've struggled with this for days and I finally managed to make it work. Thanks alot for the video!!

  • @msoffice6037
    @msoffice6037 3 роки тому

    Can you please tell what is the name of picture you used for this video (blonde girl pointing at table)

    • @DougHExcel
      @DougHExcel  3 роки тому

      Purchased a licensed version for this pic and it's called "Database Table - technical concept, girl pointing screen"

    • @msoffice6037
      @msoffice6037 3 роки тому

      @@DougHExcel Thank you very much for reply!

  • @LargeLondonGirl
    @LargeLondonGirl 5 років тому

    What happens when a new customer is added to the “cust” table...do you need to manually update the “uniquecust” table as well?

    • @DougHExcel
      @DougHExcel  5 років тому

      Yes you would need to manually update. The other option would be to create a query on the cust table to pull out the unique customer names and then output that as the uniquecust table and then use it as part of the bridging table...that might be another video :-)

    • @good2see
      @good2see 5 років тому

      @@DougHExcel There must be a way to update the unique tables automatically.

    • @john4thelove
      @john4thelove 4 роки тому

      You can create a power query that saves the distinct results to a table :)

  • @casst346
    @casst346 4 роки тому

    what if you have many field columns with many to many between 2 or 3 tables

    • @DougHExcel
      @DougHExcel  4 роки тому

      that would be additional bridge table, but it's not ideal

  • @05khanha
    @05khanha 3 роки тому

    Sumif formula in column C would be quicker.. ;)

    • @DougHExcel
      @DougHExcel  3 роки тому +1

      Hi RLprod, thanks for the comment!