Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Relationships between groups

Hey, I have a data set looking like screenshot following, but I have met a wall, and I know this is simple cut cannot conceptualise this: In my set, an order can come from several sources: adwor...
  • parry2k's avatar
    1 year ago

    Anonymous so you should unpivot the data by following these steps:

     

    Transform Data -> Select Order id and pK_Date columns -> Right click -> Unpivot other columns

     

    It will add two columns, attribute and value, rename as you want it, close, and apply.

     

    Now set the relationship from the dim table to the attribute column in the fact table and that's it. Now you should be able to slicer the fact table from the dim table