Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
A mouth-full--let me unpack. I have a couple DIM tables: Company, station. Both will provide necessary information to my FACT table later on. But they too have a relationship necessary for the model. I need to know what company owns which stations; however, some stations are owned by more than one company. I was curious is there are industry standards or best practices when developing a model with such information. Below I have provided a visual:
I want to be able to provide a Company ID to the Station DIM table that way I can create a hierarchy in the visual space. Company->Station->Equipment etc. Let me know if you have any questions. Thanks in advance,
Isaac.
Hi @Anonymous
One practice is to separate Company and Station in two Dim tables and have a third table to define their relationships. If in the fact table, company and station always appear as a pair, you can add a new ID column like [StationID]&"-"&[CompanyID] in both Fact table and the third table, and build relationship on the new columns.
For example
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
First thought is leave them separate and describe the relationship between them in a factless fact table. Literally two columns CompanyId and StationId
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
106 | |
87 | |
76 | |
66 |
User | Count |
---|---|
126 | |
112 | |
99 | |
82 | |
73 |