Looking at Power BI Many to Many

  Рет қаралды 157,352

Guy in a Cube

Guy in a Cube

5 жыл бұрын

In this video, Patrick takes a look at Power BI Many to Many relationships. This was part of the July 2018 Power BI Desktop release and can enable some awesome capabilities. Patrick looks at why you may not want to use Power BI Many to Many even though you think you do.
Many to Many documentation: docs.microsoft.com/power-bi/d...
LET'S CONNECT!
Guy in a Cube
-- guyinacube.com
-- / guyinacube
-- / guyinacube
-- Snapchat - guyinacube
-- / guyinacube
**Gear**
Check out my Tools page - guyinacube.com/tools/
#powerbi #powerbidesktop #guyinacube

Пікірлер: 94
@benschg
@benschg 4 жыл бұрын
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!
@snehdeep712
@snehdeep712 2 жыл бұрын
High five Patrick! Just the way you explain new functionalities makes life so much simpler! Keep those interesting videos flowing! Thanks :)
@PaulAeschlimann
@PaulAeschlimann 9 ай бұрын
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.
@jarrahalrowayyeh8990
@jarrahalrowayyeh8990 4 жыл бұрын
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
@diogopinto6039
@diogopinto6039 5 жыл бұрын
As always, nice, funny and informative video!!! Thank you very much!
@pedrojimenez2807
@pedrojimenez2807 4 жыл бұрын
Thank you Patrick... Your explanations are always on point.!!
@eyitayoeyitayo-lawal2331
@eyitayoeyitayo-lawal2331 4 жыл бұрын
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
@mundoanaliticooficial
@mundoanaliticooficial 5 жыл бұрын
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.
@hamzawaheed47
@hamzawaheed47 4 жыл бұрын
Thank You for explaining it!!!
@Embedded100
@Embedded100 5 жыл бұрын
Correct approach. Nice video Patrick
@di380
@di380 2 жыл бұрын
I agree, cleaning up the data and reorganizing can have a big impact on performance as an added benefit.
@camilogarcia39
@camilogarcia39 Жыл бұрын
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
@farhaadmohsin2306
@farhaadmohsin2306 2 жыл бұрын
You helped solve a huge problem for me. Thank you very much
@KrzysztofWitta
@KrzysztofWitta 3 ай бұрын
Big thumbs up, thanks Patrick
@sansden
@sansden 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.
@ashwinisingh8958
@ashwinisingh8958 3 жыл бұрын
As usual one more great idea..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👌
@farmanalishah8836
@farmanalishah8836 5 жыл бұрын
Great video guyincub👏
@michaels1813
@michaels1813 4 жыл бұрын
Hello, I like the last approach to clean up the model. Many-to-Many would make me nervous about unexpected results.
@camilogarcia39
@camilogarcia39 Жыл бұрын
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
@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!
@beautywithbrilliance
@beautywithbrilliance 4 жыл бұрын
Yet another great video. Kudos!
@GuyInACube
@GuyInACube 4 жыл бұрын
Appreciate that! Thanks for watching 👊
@MuhammadBerki
@MuhammadBerki 5 жыл бұрын
Awesome tip Patrick
@saritaxsingh
@saritaxsingh 2 жыл бұрын
Thank you dear
@iamthemoss
@iamthemoss Жыл бұрын
Very good video thank you
@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?
@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?
@GHRichardson
@GHRichardson 5 жыл бұрын
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...' ;-)
@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
@rodrigomachado3678
@rodrigomachado3678 3 жыл бұрын
Many to many shouldn't always be used but it can be extremely helpful when dealing with RLS management acess in my opinion
@ekanshchaturvedi9643
@ekanshchaturvedi9643 2 жыл бұрын
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?
@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
@johnmatta9577
@johnmatta9577 5 жыл бұрын
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..
@zabeepasha4405
@zabeepasha4405 2 жыл бұрын
Hi Patrick,In Power BI we have option to do lookup from vertical to horizontal without transpose the column
@Lucfreitas56
@Lucfreitas56 2 жыл бұрын
That's exactly what I need to check! You da man!
@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?
@RobertoStaltari
@RobertoStaltari 5 жыл бұрын
Did you mention it's part of composite models capabilities?
@shyamjiniranjan6261
@shyamjiniranjan6261 4 жыл бұрын
Really helpful, Great Thanks
@GuyInACube
@GuyInACube 4 жыл бұрын
Awesome, Thanks for watching! 👊
@kristinamelnichenko5775
@kristinamelnichenko5775 3 жыл бұрын
Good thank you
@youssoufsougueh396
@youssoufsougueh396 3 жыл бұрын
Thanks
@priyadharsini5842
@priyadharsini5842 5 жыл бұрын
Is it possible to have a refresh button in report itself for refreshing the dataset value?
@yoshihirokawabataify
@yoshihirokawabataify 5 жыл бұрын
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 😄
@MortenHannibalsenOlsen
@MortenHannibalsenOlsen 5 жыл бұрын
So how do you go about making that nice final dimension table you use in your slicers at the end?
@ericalanrosenfeld
@ericalanrosenfeld 4 жыл бұрын
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 Жыл бұрын
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.
@chrisc9213
@chrisc9213 4 жыл бұрын
Nice
@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
@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.
@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.
@rapmacl1
@rapmacl1 3 жыл бұрын
Did Patrick post his example report workbook?
@shyamthakur9799
@shyamthakur9799 5 жыл бұрын
Have you appended both table
@user-gy7uu9gt8n
@user-gy7uu9gt8n 2 жыл бұрын
How does the apply security filter in both directions work? Do I have to check it?
@cynamin922
@cynamin922 2 жыл бұрын
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?
@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 ?
@Eminem3482
@Eminem3482 5 жыл бұрын
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 Жыл бұрын
Use a DAX calculated table with the DISTINCT DAX function. Updates with the data model.
@azizquazi
@azizquazi Ай бұрын
Can we get the PBIX file to understand how we transformed to Relationship (Final) from where we started? Thanks.
@jairoverachaly7628
@jairoverachaly7628 3 жыл бұрын
How could you define that it's LEFT, RIGHT or INNER JOIN in a relation?
@dungpham-yg8ni
@dungpham-yg8ni 2 жыл бұрын
Character In the video It's great, I like it a lot $$
@jaclynpugh4209
@jaclynpugh4209 Жыл бұрын
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...
@isabelrauch3772
@isabelrauch3772 9 ай бұрын
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.
@jrwjr
@jrwjr 5 жыл бұрын
Many to many saves the day, but do not understand the next level, is there more references on how to structure the merged? Tables.
@CelsoVazquezPerez
@CelsoVazquezPerez 5 жыл бұрын
Cool video!
@GuyInACube
@GuyInACube 5 жыл бұрын
Thanks Celso! we had fun with this one.
@stephenfryer5660
@stephenfryer5660 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
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.
@ramaraodande872
@ramaraodande872 5 жыл бұрын
How to create dimension modeling
@sohailansari9337
@sohailansari9337 5 жыл бұрын
Nice video but can't publish to service..😔
@ZEROONETRAINING
@ZEROONETRAINING 5 жыл бұрын
Possible to buy the guyinacube t-shirt?
@DanielWillen
@DanielWillen 4 жыл бұрын
Just get a gamecube tshirt
@singhraunak09
@singhraunak09 3 жыл бұрын
PowerBI portal video, please.
@jaitiwari241
@jaitiwari241 Жыл бұрын
Sir where to practice dataset.. Dataset is not there
@arnaudseguin6404
@arnaudseguin6404 5 жыл бұрын
Poor video editing on the areas you screen grabs making it hard to follow.
@user-ik9zz3sy7s
@user-ik9zz3sy7s Сағат бұрын
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
@shedymandawe3327
@shedymandawe3327 5 жыл бұрын
i've tried many to many but the problem is i can't publish it.. anyone has the solution for it?
@EdHansberry
@EdHansberry 5 жыл бұрын
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 5 жыл бұрын
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
@ramielkady938
@ramielkady938 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 ...
@jaclynpugh4209
@jaclynpugh4209 Жыл бұрын
My measure totals are all wrong after I introduce a bridge table.
@dru6197
@dru6197 5 жыл бұрын
Shoulda said it.
@cesarsaldana3429
@cesarsaldana3429 4 ай бұрын
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.
@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
@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
@possibilitisbusinessintell4728
@possibilitisbusinessintell4728 Жыл бұрын
waste of my 10 minutes.
Create custom keys for your Power BI relationships
9:44
Guy in a Cube
Рет қаралды 111 М.
Bidirectional relationships and ambiguity
14:02
SQLBI
Рет қаралды 99 М.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 5 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 25 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 68 МЛН
Power BI Row-Level Security And Where To Filter
9:42
Guy in a Cube
Рет қаралды 154 М.
How to Correctly Define Many-To-Many Relationships in Database Design
7:07
2 ways to reduce your Power BI dataset size and speed up refresh
17:24
Why Power BI loves a Star Schema
8:10
Guy in a Cube
Рет қаралды 122 М.
Handling MULTIPLE fact tables in Power BI
9:02
Guy in a Cube
Рет қаралды 299 М.
Microsoft Power BI: The Do’s and Don’ts of Power BI Relationships - BRK3019
1:00:42
STOP publishing your Power BI report until you do these 5 things!
10:15
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,9 МЛН