Create a Many to Many Relationship Model in Power Pivot

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

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

  • @ovmov3321
    @ovmov3321 Год назад +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  Год назад

      Thanks OV MOV, glad it helped!

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

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

  • @joycelau3508
    @joycelau3508 5 месяцев назад

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

  • @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!

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

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

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

      Hi Antonio Matheus Tinoco, you're welcome!

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

    Helped me very much, ty

  • @Noble.Hustler
    @Noble.Hustler 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!

    • @Noble.Hustler
      @Noble.Hustler 2 года назад

      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!

  • @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

  • @jwf3148
    @jwf3148 4 года назад

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

  • @Checkm69
    @Checkm69 2 месяца назад

    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.

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

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

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

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

  • @largpack
    @largpack 2 года назад +4

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

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

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

  • @heshamsaad9883
    @heshamsaad9883 11 месяцев назад

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

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

    Excellent Way of Teaching... Thank 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 4 месяца назад

      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.

  • @richardkorver7482
    @richardkorver7482 4 года назад

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

  • @john4thelove
    @john4thelove 5 лет назад

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

    • @DougHExcel
      @DougHExcel  5 лет назад

      Thanks john4thelove, glad it helped!

  • @giordanirivas294
    @giordanirivas294 2 года назад +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 9 месяцев назад

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

  • @ericliu79
    @ericliu79 5 месяцев назад

    Great Video

  • @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!

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

    Thank you very much!! very clear explanation!

  • @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

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

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

  • @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?

  • @johng5295
    @johng5295 4 года назад

    Thanks in a million. Awesome!

  • @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

  • @hasinarafenoarisoa7063
    @hasinarafenoarisoa7063 4 года назад

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

    • @DougHExcel
      @DougHExcel  4 года назад

      Sorry, don’t understand the comment/ question... but it sounds more like a lookup item? ruclips.net/video/fzfN84kDqgU/видео.html

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 5 лет назад

    Beautiful video. Thanks for the share.

    • @DougHExcel
      @DougHExcel  5 лет назад

      Hi Syed Muzammil Mahasan Shahi, thanks for the comment!

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

    Thank you!

  • @mau_vh
    @mau_vh 8 месяцев назад

    Thanks man

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

    thank you so much

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

    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 4 месяца назад

      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.

  • @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.

  • @stevesullivan457
    @stevesullivan457 5 лет назад +6

    Great job. Alas, my head is spinning lol

  • @sergeyp6472
    @sergeyp6472 4 года назад

    Thanks a lot!!!

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

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

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

    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?

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

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

  • @cassandramah9786
    @cassandramah9786 3 года назад +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  3 года назад

      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))

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

    What about if you have a date column too?

  • @msoffice6037
    @msoffice6037 4 года назад

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

    • @DougHExcel
      @DougHExcel  4 года назад

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

    • @msoffice6037
      @msoffice6037 4 года назад

      @@DougHExcel Thank you very much for reply!

  • @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)

  • @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 5 лет назад

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

  • @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.

  • @Tat-cx1lr
    @Tat-cx1lr 3 года назад

    Merci

  • @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....

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

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

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

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

  • @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

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

    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!!

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

      Oh my😆 Glad it helped!

  • @05khanha
    @05khanha 4 года назад

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

    • @DougHExcel
      @DougHExcel  4 года назад +1

      Hi RLprod, thanks for the comment!