Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
jPinhao
Helper II
Helper II

Dimensional Modelling advice

Hi, I've been trying to solve an issue, and to date I haven't been able to reach what I'd say is an optimal solution.

I have a dimension (Features) which needs to be referenced in 2 other dimensions (Actions and Sessions), which in turn are referenced from the same Fact table (UserAction). This creates ambiguity and I can't complete the schema:

 

 Ambiguous Relation

(note: snip of the model, not the whole thing)

(included the bridge tables to show some of the added complexity in the model with many-to-many relationships)

 

I think the issue might be with Dim_Features technically having different meaning between both dimensions? It means both:

 

* An Action belongs to this Feature / Feature Area 

* A Session had this Feature / Feature Area available (owned)

 

What I need to accomplish is being able to filter/slice Fact_UserActions by Sessions where certain features are available / unavailable, to then analyse things like:

 

* Which Features are used when Feature 'A' is owned (as in, correlations between certain features being ownes, and others being used)?

* How many users who own a Feature have not used it?

* How often is a Feature used? (constrained by population of sessions that own it, ie. where it could actually be used)

 

1 REPLY 1
v-sihou-msft
Employee
Employee

@jPinhao

 

In this scenario, if you only care about the Features either Used (realted to Action dimension) or Owned (related to Session dimension), your schema is fine. But if you need to know the count of Features sliced by both Action dimension and Session Dimension, you'd better build a fact table comtains Action, Session, Feature information between Dim_Action and Dim_Session connecting Dim_Feature.

 

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.