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
cmncp
Helper III
Helper III

Modelling Multiple Fact Tables

I am trying to model 2 fact tables that are related to a couple of common dimensions.

 

I have the following tables:

 

Projects

This is a dimension table that lists various construction projects.  Key is ObjectNumber

 

Project Costs

This is a fact table and contains a list of all costs associated with various construction projects over time.

 

Assets

Dimension table that contains various Assets.  Each Project has one or more Assets associated with it

 

Asset Values

Fact table that contains asset valuations over the years

 

ProjectAssets

This is a bridging table that links the Projects and Assets tables

 

Calendar

Standard Calendar hierarchy

 

This is how I have currently modelled the relationships (red border = fact table, green = dimension, orange = bridging)

 model.png

 

I have tried to model this many different ways, but each time the project costs are not being returned correctly for the assets.  In the following scrren shot, "C0009" is the Project code and the numbers under it are Asset codes.  In reality, C0009 only has 1 asset, but it is listing all of them, with the whole project cost repeated.

 Excel.png

 

 

 Any help is greatly appreciated.

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi  @cmncp,

 

According to your screenshot, it seems like the filter function based on related ship not works.

I'd like to suggest you modify your cross filter direction to "both".(single mode only available on one side e.g: A can filter B, B can't filter A)

 

If above not help, can you please share the sample file to test?

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Greg_Deckler
Super User
Super User

Tough to say but I suspect that you need to edit your cross filter directions on your relationships.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I've tried different settings, but haven't found anything that works.

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.