Scenario based on Many-to-many relationship | Power BI Interview

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 111

  • @akashhanchatet-2842
    @akashhanchatet-2842 9 місяців тому +5

    One thing thats not just observed by me but must have been my many :- Selfless efforts from your content sir ✨ you are already into corporate and still choose to make such content that's helpful for Data Analyst Aspirants like me, glad 🙏🏻✨

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

      Thank you so much for appreciating.

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

    Fixed question in every Power BI interview.
    Also I knew this approach already but after your video now I can use this more confidently.

  • @chithambargoud2110
    @chithambargoud2110 9 місяців тому +1

    Now a days many people are asking money and doing paid services for even share some information on IT related, your selfless efforts are priceless 🙏 the content is very usefull for many people who are interested on data analyst, pls dont stop making videos as possible as Thank you shashank

  • @guppi1
    @guppi1 11 місяців тому +3

    Do you have to create the bridge table from transaction table? Can I just reference the bridge table from customer table and remove the duplicates? Since it also has unique customers name

  • @assassinfps
    @assassinfps Рік тому +2

    I had an interview today, and it included a question about many-to-many relationships. Nice work 👍

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

      Glad to hear this!

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

      Hey brother can you tell me from where did you get the interviewing opportunity? I am not getting any interview calls.

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

      even me.. am not getting any interview calls. please help me

    • @MayankThakur216
      @MayankThakur216 4 місяці тому

      @@prince5724 @chaithradubsmash7615 @awesomearnav7854 Did you guys get calls now? If yes please guide me as well on how to get interview calls.

  • @VINAYKUMAR-gv1sw
    @VINAYKUMAR-gv1sw Рік тому +3

    Instead of dublicate the table you can also create summrize table also.Any way good job

  • @shubhamchaudhari1212
    @shubhamchaudhari1212 9 місяців тому +1

    What does a bridge table act as....A fact table or a dimension table and what shall the flow be ?

  • @souravkajuri
    @souravkajuri 7 місяців тому +1

    Another approach woud be create the bridge table using DAX function VALUES(customer). This will provide us unique values of customers.

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

      Can you explain it in DAX and which one is advisable DAX or creating bridge

  • @eRoyalMarathi
    @eRoyalMarathi Рік тому +3

    You created duplicate of transactions table and removed duplicate, but if added new name in customer table then how it will appear in bridge table? I think we need to append both table and then need to remove duplicate.

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

      Mostly if we are adding new names then it has to be updated in both the tables. But yeah if that's not the case then we have to do what you have mentioned.

  • @BouchraMokhtari-kt6ek
    @BouchraMokhtari-kt6ek 6 місяців тому

    Finally a useful video. Thanks a lot 👏

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

    So wonderful explained 👏🏼... please keep posting such videos

  • @CePe678
    @CePe678 12 днів тому

    In which scenario we will get duplicate records in customer table?

  • @Queen.himshi
    @Queen.himshi Рік тому +2

    Hey hi, can you please make a video on how to resove circular dependency???

  • @hairavyadav6579
    @hairavyadav6579 4 місяці тому

    Thanks today I now live this thing....
    Before that I know only theory
    Thanks for video ❤

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

    WHY HAVE YOU NOT USE APPEND QUERY TO MERGE 2 TABLES AND THEN REMOVE ALL OTHER COLUMN?

    • @aakashmohan9827
      @aakashmohan9827 10 місяців тому +1

      Because here we taking customer as a main column, so Customer table itself has all the unique elements. so there is no need of merging two tables and eliminating duplicates.

  • @ZuhaibAli-b9r
    @ZuhaibAli-b9r 5 місяців тому

    Hi LearnWidGiggs, can you please tell what are the issues we have to face if start working on many to many relationship model.

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

    I think here using of duplicate is not works when the source table is updating it is not giving updation in duplicate table

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

      Because you are using local excel file..if you will use database..it would update automatically

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

    Very usefull and helpful interview question.

  • @swapnilpatil4238
    @swapnilpatil4238 6 місяців тому

    Hello,
    My name is Swapnil. A few months ago, I commented on your LinkedIn post suggesting you create an informative video about database schemas, such as star schemas and snowflake schemas. I understand you have more responsibilities now since you were promoted to Manager, but we would still greatly appreciate it if you could make this video for us.
    Thank you.

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

    What about if the customer table customer name is not in transaction table and customer name in transaction table that dnt have in customer table. Then how will create bridge table?

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

    Can we create a reference table instead of duplicating the fact table to have up to date values?

  • @EMRANKhan-q8x
    @EMRANKhan-q8x 4 місяці тому

    Great explanation

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

    Hi , is there anything essential thing need to noyice here like fact table or dimension table? Which table we want to duplicate?

  • @rajatsehgal4249
    @rajatsehgal4249 11 місяців тому +1

    When I connected both the tables directly by opting Many to Many cardinality it is showing me the same result when I connected via Bridge table. So what's the difference between both.

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

      In less data as well as with less no of tables..this can give same result

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

    Thanks for this.
    But a better way would be to keep unique from the customer table since it is a dimension table. It contains only names and Id.

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

      Yeah..we can use customer table also and that would be better

  • @AnnoyedBigWaterfall-zc8vd
    @AnnoyedBigWaterfall-zc8vd 5 місяців тому

    BRO how to create model for 25 different excel files in Powerbi and create relationships

  • @MeghaPrasad-on6ow
    @MeghaPrasad-on6ow Місяць тому

    Hello Shashank, we can also solve this by creating index column?

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

    Very helpful video sir ❤ keep uploading such content it's helping very much🎉❤

  • @deepdeep-yy2pt
    @deepdeep-yy2pt Рік тому

    I had to ask about RLS implementation where when we have a lot of tables and RLS with a bridge table becomes impossible to work with. Can you share any solution for that

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

    Hi Shashank, I have attended interview last week and i got a question like this:
    We have sales table with order date. But date is of different time zones and asked to calculate last N months total sales.

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

    Hi,
    Can you plz carify my below doubt.
    Is it advisable to use bridge table if the column we are trying to make a bridge table on includes one table that has 10 unique values and another table that only has 2 or 3 unique values?

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

      Please answer this question Shashank

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

    Hi, Can you please make a video on steps to share report with others from power bi service?

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

    Hey Shashank . A small question over here it is similar to a problem I faced in one of my test. Lets say I was the transactions based on ID rather then customer. We can create bridge based on Id as there is no Id column in the transaction table.

  • @rajatsehgal4249
    @rajatsehgal4249 11 місяців тому +1

    If we connect Customer and Transaction table directly by opting Many to Many cardinality, will it show inaccurate result ?

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

    Thanks for this video!! I have question here. If we have more number of fact tables falling under many to many relationships, every time do we need to create bridge tables to connect in the model?

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

      Yes ..we should not directly connect many to many

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

      @@learnwidgiggs Perfect!! Thanks for the reply!! It helps a lot in my ongoing real time project.

  • @ruthvikanomula9829
    @ruthvikanomula9829 11 місяців тому +1

    I'm unable to fetch both tables columns in a table visual at a time, it's accepting either A table or B table. But, we have bridge between them by C table, it should work right? Could you please clarify this?

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

      Yes it should work

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

      Yes, it's not working if we try to pull columns from both A and B tables.

  • @KameshKamble-7020
    @KameshKamble-7020 2 місяці тому

    thank u so much sir...

  • @rajasnabar5564
    @rajasnabar5564 8 місяців тому

    What if I want to pull ID from customer table along with any column from Transaction table into Bridge Table? It gives an error.

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

      @learnwid
      What's the solution for the above question?
      Thank you

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

    Last week, in Kpmg interview they asked the same question

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

    Thanks Shashank!!
    You explained the scenario in a very simple way!!
    You are the best!!

  • @ashaarun527
    @ashaarun527 4 місяці тому

    Thanks a lot … 🥰

  • @SandipanSarkar-c8v
    @SandipanSarkar-c8v 8 місяців тому

    Finished watching

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

    Very helpful video 👏

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

    Bro what is the solution if the there are two different persons with same name in this scenario

  • @anupamjha827
    @anupamjha827 8 місяців тому

    Here he if want user and transaction with only latest date how it will be achieved

  • @ShrutikaUgalmugale
    @ShrutikaUgalmugale 8 місяців тому

    Helpful content🙏👌

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

    Hello Sir please make a one video on SSIS SSRS SSAS
    thanks and regards

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

    Could you please explain, how to integrate Power BI to third-party applications?

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

      Yes..we can use embedded option in powerbi service

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

    Hide all foreign Key on Fact table is it a good practise

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

    Is it possible to clear the interview by going through the tutorials and no real-time hands on?

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

      You should definitely work on a real time dataset atleast once

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

    thank you, really helpful

  • @NaveenKumar-fq4sb
    @NaveenKumar-fq4sb Рік тому

    plz uplode dataset for practice purposes

  • @crazykidanshita31
    @crazykidanshita31 11 місяців тому +1

    But your bridge table data never get refreshed as you taken the copy of table. In future the table data get increased is your bridge table will update?? No right.

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

      If it is connected to a database then yes it will refresh on scheduled refresh.

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

      @@learnwidgiggs Again there is a gap. Whenever we take duplicate of table , and if you change the data in base table it never get to duplicate table, here you have taken duplicate right, how you will do data refresh. Also one of your video you mentioned same point

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

      @@learnwidgiggs one qq, can we give link to value. Let say employee count is 10, if i click on value 10, i want to see all 10 employees names and other details…….like another report link.
      But i need value interaction on 10 is it possible

    • @krishna6296
      @krishna6296 15 днів тому

      @@crazykidanshita31 : We can use reference table instead of duplicate table.

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

    Thanks a lot , Really very helpful

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

      Glad it was helpful!

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

      @@learnwidgiggsshould it be better to create a refrence table as any changes in source table will imply in refrence table instead of creating dublicate table

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

      And choosing any table to create duplicate / refrence would do the job, but would it much better to create refrence table of customer table as it more primary compared with transaction table . Bcz for every transaction there has to be a customer but vice versa not true ?

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

      Pls reply @learnwidgiggs

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

    thanks a lot brother......

  • @LaxmiChinta-q1z
    @LaxmiChinta-q1z 8 місяців тому

    Hi sir, how to share excel file to others?

  • @meghalohar2367
    @meghalohar2367 4 місяці тому

    very helpful

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

    Thank you for uploading these type of videos.
    I think we can use ALL or DISTINCT or VALUES to create a new table which will have unique values.
    Pls correct me if I am wrong.

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

    wonderful bhai

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

    Hi brother wer do u stay in Bangalore?

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

    Best

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

    Hi brother r u in Bangalore right now?

  • @shashi.1.9
    @shashi.1.9 18 днів тому