Looking at Power BI Many to Many

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

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

  • @benschg
    @benschg 5 лет назад +7

    WOW. This was the missing video, I was looking for. I did not know that one could change the direction to both to cross-filter, and this video showed me. I think I am not a total noob to PowerBI, but also, these little things are hard to get in the jungle of options, so anybody pointing me to such tips is highly appreciated. Thankgs Guy in a Cube!

  • @PaulAeschlimann
    @PaulAeschlimann Год назад +2

    What a great video! Not only have you shown when many to many relationships are most suitable and demonstrated how the same result was achieved before this feature was released, you have also encouraged why it is worth going the extra step to prevent such ambiguities.
    A separate video that actually demonstrates such an ambiguity and why it occurs could make it even more obvious, why it is worth going the extra step.

  • @di380
    @di380 3 года назад +3

    I agree, cleaning up the data and reorganizing can have a big impact on performance as an added benefit.

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

      My question is, How'd he do to get the Final_State_Metrics table? Since both metrics Population and Crimes Per Capita come from two different tables and not necessarily both of them have the same Geography key values

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

    Usful and very informative video.
    And since am working in the oil & gas company, Many to Many relationship is extremely needed especially if we are working on wells,Reservoirs & fields data..etc for our analysis.
    Much thanks

  • @jobycheriyan9740
    @jobycheriyan9740 Месяц назад

    00:05 Explaining the many-to-many relationships feature in Power BI.
    01:20 Many-to-many relationships in Power BI can lead to complexities in data modeling.
    02:24 Establishing relationships in Power BI using a bridge table.
    03:24 Establishing bi-directional relationships enhances filtering across multiple tables in Power BI.
    04:27 Introducing many-to-many relationships in Power BI.
    05:28 Managing many-to-many relationships in Power BI requires careful filtering.
    06:39 Combine data tables in Power BI for simplified metrics analysis.
    07:48 Using a consolidated data model simplifies Power BI reporting.
    Crafted by Merlin AI.

  • @jacqpacheco4312
    @jacqpacheco4312 3 месяца назад

    I just love how clear you explain everything. Your channel is the best… been able to optimize and find solutions here which I sometimes dont get in the MS community website. 💯 thank youuuu!

  • @mundoanaliticooficial
    @mundoanaliticooficial 6 лет назад +14

    Great video man. If you do a good job modelling your data, you don't need to use a many to many relationship and only need to use one to many relationship. I never need to use many to many relationship because I spend a lot of time modelling my data.

  • @MortenHannibalsenOlsen
    @MortenHannibalsenOlsen 6 лет назад +13

    So how do you go about making that nice final dimension table you use in your slicers at the end?

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

      Is there any answer to this quest?

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

      PowerQuery and he concatenates that state and city as the GeographicKey in the metrics table and then likely references the original metrics tables and normalizes/dedupes the values then creates the relationship.

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

      Try a DAX calculated table with the DAX functions UNION to create the union and the SUMMARIZE function to declare which fields you're bringing into the union. All the best.

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

    High five Patrick! Just the way you explain new functionalities makes life so much simpler! Keep those interesting videos flowing! Thanks :)

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

    Thank you for sharing a unique way of dealing with many to many relationship. However, I would like to seek your advice regarding the following case. What if we not have information of violent crimes per capita for half of the State? Joining both the table to form Final_State_Metrics will result in many null values in ViolentCrimesPerCapita, what is the best approach for this scenario, should I still combine both the fact table together? Thank you and look forward for your reply.

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

    Hi Patrick,In Power BI we have option to do lookup from vertical to horizontal without transpose the column

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

    Great video as usual ....just wondering how you made the final state metrics table putting both values from those two fact tables in single table.

  • @rodrigomachado3678
    @rodrigomachado3678 3 года назад +3

    Many to many shouldn't always be used but it can be extremely helpful when dealing with RLS management acess in my opinion

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

    If there are more two keys which are same and unique in two tables which is the most efficient key to join them ? any video to clear my doubts is appreciated thankyou.

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

    Thanks for the video and the tips you give. My question is, How'd you do to get the Final_State_Metrics table? Since both metrics Population and Crimes Per Capita come from two different tables and not necessarily both of them have the same Geography key values

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

    Great video you've got here Patrick.. I have been looking for a way around this many to many relationship issues cos its not always advised to use. I have a project on ground and i am faced with this challenge. I hope this solves it. I shall return with reports.
    Once again,Thank you

  • @azizquazi
    @azizquazi 7 месяцев назад

    Can we get the PBIX file to understand how we transformed to Relationship (Final) from where we started? Thanks.

  • @diogopinto6039
    @diogopinto6039 5 лет назад +4

    As always, nice, funny and informative video!!! Thank you very much!

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

    Hi Patrick, I love your video, could you also explain how you did the last part; combing two tables with the same name?

  • @築夢者-w8o
    @築夢者-w8o 3 года назад

    How does the apply security filter in both directions work? Do I have to check it?

  • @johnmatta9577
    @johnmatta9577 6 лет назад +1

    It's still not quite clear Patrick of what sort of problems the bidirectional relationship could cause so it'd be really nice if you can do a video on it..

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

    Hi Patrick, You mentioned in the video that you would show what you would do if you use a Bridge Table and one table is missing values. Please can you show? Thanks

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

    Hi Patrick...how do we decide when to make a “custom column” and when we need a “bridge table”. Love your work👌

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

    Is it logical to merge the 2 tables? I merge almost all of my tables, but I rarely see that as being proposed, I am new to Power BI, so just wondering if I am missing something.

  • @GHRichardson
    @GHRichardson 6 лет назад +4

    Hi Patrick - Great video about an aspect of PBI that confuses a lot of people! Thinking beyond the functionality of getting a M2M relationship to work for report creators... what are the performance implications of each option? My understanding is that when we use a bi-directional relationship, behind the scenes, the values of one of the tables get copied into the other (is that right?). I want to avoid my data model from getting too large and bloated, so which of the 3 options that you showed us (1. Bridge table with 2 x M2M relationships, 2. new M2M design, and 3. remodel data model to be specific to the visualizations) would be the most performant?
    My guess is that you'll say 'It depends...' ;-)

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

    Hello,
    I like the last approach to clean up the model.
    Many-to-Many would make me nervous about unexpected results.

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

    What if you have two cost tables. One table has these fields: Cost Center, Product, and $s, with multiple products per cost center... because each cost center may allocate across multiple products. The second table has these fields: Cost Center, Cost Elements (eg. Salaries, Supplies, Travel, IT cost, taxes, etc...), and $s. Multiple Cost Elements per Cost Center. And you have Product Managers who want to know their $s by Product by Cost Element ?

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

    Did Patrick post his example report workbook?

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

    Hi, your explanation makes things simpler to understand.
    I have one ask, on dataset modelling if i have one dataset lets say global sales and i want to share the same dataset to country report creators with a requirement that they can view only their data while creating the dashboard for their management. Is it possible?

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

    hey, nice video! I have some doubts about many to many, What if I have two fact tables, the first is for Sales, and the 2nd one is for Daily Call records, So I want to know how many calls they received per day, and from those calls, which ended up in a Sale? does that make sense? Will it work in the same way? or How I can combine both, without losing the details of each fact table?

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

    I tried the many-to-many relationship connection between historical orders to a future orders table after the Sept update and my totals again are all wrong... I'm no sure why...

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

    Hey Patrick, so am I correct in thinking that merging a table is more efficient then solely relying on any relationship to give you the ability to merge columns from two different tables?

  • @RobertoStaltari
    @RobertoStaltari 6 лет назад +1

    Did you mention it's part of composite models capabilities?

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

    You helped solve a huge problem for me. Thank you very much

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

    I built several marketing data analysis reports where the end user wanted to see data periodically, so I joined tables on dates and all the tables had many to many relationship. Although it appears that my report is showing the right data but I've read many articles promoting against it. Is it normal to join on dates as many to many?

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

    how can I maintain hierarchy between multiple role playing dimensions.
    for example:
    year from one distinct date table is used as slicer and if I select any year then it should filter countries in another slicer coming from another distinct table and selected country should filter relevant states coming from another distinct table.
    It is a case where multiple columns like year&country&state are concatenated to create unique key which is joined to another table with similar concat column but this is leading to many to many relationship.
    please help

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

    The problem I have with this is that the bridge table needs to be constantly updated. How can we just combine the two without causing issues?

  • @Embedded100
    @Embedded100 6 лет назад +2

    Correct approach. Nice video Patrick

  • @priyadharsini5842
    @priyadharsini5842 6 лет назад

    Is it possible to have a refresh button in report itself for refreshing the dataset value?

  • @stephenfryer5660
    @stephenfryer5660 6 лет назад

    I know this question is not related to the video, but I've posted on a few forums and no one is responding, so hoping you can help:
    Hi,
    My team and I are looking at switching reporting platforms and have been building concept pieces within Power BI, so far we have found everything and more, however, we are keen on making reporting not only dynamic from a user perspective but also from a production point of view.
    currently, we use SSRS and are able to have lookup tables with logic coded in and ready to be pulled through into multiple reports ensuring that where metrics are repeated any logic changes will be reflected across all reports at once.
    I've built a sample look-up table storing the DAX syntax needed for some of the measures used, then using the LOOKUP I'm looking to return the SUM() calculation string from the lookup table as a formula, however, it's pulling through as a string value.
    Is there a way of having this type of setup to make reporting more flexible between our warehouse and Power BI?
    (I guess what i'm looking for is something like Excels indirect function, using the string as an address)
    I hope this makes sense.
    Thanks

    • @GHRichardson
      @GHRichardson 6 лет назад

      It sounds like you want to build dynamic DAX statements and then load them independently? Maybe you'd be better creating that in SSAS and using Power BI to link directly to that data cube?

    • @timtunbridge
      @timtunbridge 6 лет назад

      My initial thoughts were the same as Geoff’s. It sounds like you are wanting some centralised control over the model. Check out SSAS tabular model or alternatively a live connection to a Power BI dataset. We’ve gone down the Power BI dataset path which IT maintains and governs, against which users can build and publish their own reports. This works a treat for us.

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

    Thank you Patrick... Your explanations are always on point.!!

  • @ZEROONETRAINING
    @ZEROONETRAINING 6 лет назад +13

    Possible to buy the guyinacube t-shirt?

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

    Hi
    I got an issue I have 4 excel files (a, b, c, d) ppl joining company at different times (a, b, c, d) that uploaded into PBI.
    However I manage to merge Query on all of them.. But when I do calculated column, on two file for example b and c... It doesn't give me the correct answer... However I know that I used outer left join on column A to join the rest of files (b, c, d)... Basically all files have name.. Now I want to see the attrition between the files.

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

    Thank you dear

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

    Big thumbs up, thanks Patrick

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

    How could you define that it's LEFT, RIGHT or INNER JOIN in a relation?

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

    Have you appended both table

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

    Very good video thank you

  • @Eminem3482
    @Eminem3482 6 лет назад

    Hey Patrick, if the database was updated and other states were inserted, will the bridge table get updated too? or should I update it manually each time there is an update to the database?
    Thanks

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

      Use a DAX calculated table with the DISTINCT DAX function. Updates with the data model.

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

    As usual one more great idea..thanks

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

    Sir where to practice dataset.. Dataset is not there

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

    Yet another great video. Kudos!

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

      Appreciate that! Thanks for watching 👊

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

    Most of the time I hear many to many is dangerous because of potential ambiguity in the model. Could you elaborate on different scenarios when they really make sense? Thank you. Great video

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

    Thanks

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

    Hey Michael, so glad I found your channel. Subscribed and Shared! One thing I am having trouble with is dealing with 2 tables on 2 separate sheets inside a single excel file. In the web app I can't find a way to cross reference those tables. The real need I have is to create a slicer on a report that shows two different tables to filter the results to show only a particular project charters rows from those two separate tables. One table is time tracking and another is software cost tracking. I have spent 6 hours on it and I am just lost!

  • @shyamjiniranjan6261
    @shyamjiniranjan6261 4 года назад +3

    Really helpful, Great Thanks

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

      Awesome, Thanks for watching! 👊

  • @MuhammadBerki
    @MuhammadBerki 6 лет назад +1

    Awesome tip Patrick

  • @עידורוזנר
    @עידורוזנר 5 месяцев назад

    that's good but, I think you miss a step - how did you know that the third table have all values from both facts ? - you made merge and then remove duplicates this is crucial step , you created new aggregate table i don't follow you skipping steps

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

    Thank You for explaining it!!!

  • @farmanalishah8836
    @farmanalishah8836 6 лет назад

    Great video guyincub👏

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

    Good thank you

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

    That's exactly what I need to check! You da man!

  • @sohailansari9337
    @sohailansari9337 6 лет назад

    Nice video but can't publish to service..😔

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

    PowerBI portal video, please.

  • @jrwjr
    @jrwjr 6 лет назад

    Many to many saves the day, but do not understand the next level, is there more references on how to structure the merged? Tables.

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

    How to create dimension modeling

  • @arnaudseguin6404
    @arnaudseguin6404 5 лет назад +4

    Poor video editing on the areas you screen grabs making it hard to follow.

  • @shedymandawe3327
    @shedymandawe3327 6 лет назад

    i've tried many to many but the problem is i can't publish it.. anyone has the solution for it?

    • @EdHansberry
      @EdHansberry 6 лет назад +1

      You have to wait for the Service to allow it. Not sure when that will happen. I think they are targeting 2018, but don't bet a project on it.

    • @alexkeil7533
      @alexkeil7533 6 лет назад +2

      at the moment you can't publish a report that has many to many relationships because it becomes part of a composite model. You'll have to go with one of the workarounds mentioned in this video

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

    No I'm not having this. 6:50 into a 8:46 long vid and you start to give us a solution to all the issues you've been describing, then you say "combine the data into a distinct list" WTF does that mean? I thought it was APPEND if you wanted to do that? This is not a good solution video, it was useful as a thinking exercise but no solution as such was offered

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

    Nice

  • @yoshihirokawabataify
    @yoshihirokawabataify 6 лет назад

    Nice video, and Nice story , thank you. and hope more videos/stories about many-to-many relation ship.
    Power BI is good for talk about many-to-many relation ship, because easy/quick/visualize 😄

  • @dungpham-yg8ni
    @dungpham-yg8ni 3 года назад

    Character In the video It's great, I like it a lot $$

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

    My measure totals are all wrong after I introduce a bridge table.

  • @CelsoVazquezPerez
    @CelsoVazquezPerez 6 лет назад

    Cool video!

    • @GuyInACube
      @GuyInACube  6 лет назад

      Thanks Celso! we had fun with this one.

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

    Everyone in is beating around the bush. No engineer would now give you an actual Step-by-Step tutorial. Just general talk, a little bit from here, a little bit from there ...

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

    This solution is very cheap, and the rest of the relationships with the other tables of the model? In the end it only solved one thing out of a thousand.

  • @dru6197
    @dru6197 6 лет назад

    Shoulda said it.

  • @possibilitisbusinessintell4728

    waste of my 10 minutes.

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

    And like in every single video - no one says why not, just don’t do it

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

    Well, at the end i find the video pretty useless as there is ton of talking and no real explanation how to build such table