Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi - Data model question...
I have a fact table of usage/activity data containing the user, date, and location of use.
I have dimension tables for location, date, and user details.
Two issues:
Feels like I'm stuck in a triangle data model between fact and 2 dimension tables using inactive relationships... and not a proper data model setup...thoughts?
@Billiam864 Get rid of the bi-directional relationship between TableDNA and TableWorkDayRoster. You could then potentially make the dimension relationships between your dimensions and fact tables bi-directional. If you have some problem that this configuration won't solve, solve it using measures.
Thanks Greg for the response. As directed, I adjusted the dimensions to be bidirectional to the Fact table and not connect to each other... however now the dimensions don't talk to each other... so for example I cannot count users by location. Not all locations or users necessary show up in fact table, so I don't believe communicating through that as a medium will work... unless I'm misunderstanding your suggestion?
@Billiam864 I don't know specifically what visualizations/calculations you are having problems with. But you can form relationships between your dimension tables via measures, for example. This would be a lot easier with sample data and expected results.
Thanks Greg, I've tried to attach an excel file to help, but appear not allowed. Photos are provided instead. I unfortunately cannot attach BI data (due to scale and sensitivity). There are 100's of various visuals across many dashboards connected to this data, so I'm trying hard to focus on the core data model, as opposed to getting lost in the weeds. Does the excel help?
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |