Forum Discussion

EWBWEBB's avatar
EWBWEBB
Icon for Helper III rankHelper III
2 years ago
Solved

Bridge table and visuals not working

I have a model where I need to a use a bridge table to join together a dimensions table and a fact table.   The dimensions table contains all my people information, so a single person may have mult...
  • Syndicate_Admin's avatar
    Syndicate_Admin
    2 years ago

    Analyze your data well and you will be able to realize that the relationship PersonKey doesn't exist in your Fact_Attendance table and when you decompose your DimPerson, you just keep keeping the PersonId relationship.
    Another alternative is to make a many-to-many relationship (not a good practice)

    I would recommend that you manipulate the logic of your PersonKey and insert the date period as a conditional column, for example 12345a (to: February2024), and then concatenate with PersonID to have a unique element.

    I hope it helped your problem