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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
AlexDawson111
Frequent Visitor

Data Model

Hi. I’m looking for some advice on how to connect two star schemas together. 

 

The scenario is as follows:-

 

I have an existing star schema which is holding all my actual costs and revenues FactCosts from my job costs database. In this schema the grain is at Job Level. 

 

I have an existing star schema that is holding all my job scheduling data from my scheduling database. In this schema the grain is as a sub task level. One job from the first star schema contains many tasks. The tasks within this schema have many cost codes. One task can have many cost codes. 

 

The cost code from this schema can match a cost code from the cost code dimension in the first star schema. 

 

Ideally what I want to achieve is linking two star schemas in one pbix. However the grain is different in each fact table. 

 

Any advice would help

 

Thanks

4 REPLIES 4
AlexDawson111
Frequent Visitor

AlexDawson111
Frequent Visitor

Hi Greg,

 

Thanks for the reply. 

So there are some common/shared dimensions but not all. 

The problem I'm having is say for example:-

 

1 Job has a total cost of 10k (provided from the factcost table)

 

I then want to show a breakdown of these costs per sub task level which is in the other fact table. 

Really I only want to me able to slice and include dimensions from the cost star schema. For example create a table visual that consists of my costs and my scheduling data combined. 

hope that makes sense. 

alex

@AlexDawson111 OK, so what if you built a relationship between your jobs table and your subtasks table based on job code? Is it Many-to-Many (*:*) if you do that or 1:*?

 

Super difficult to visualize without sample data.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@AlexDawson111 So do you have the same dimensions in each of these star schemas?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.