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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
spartanboy
Helper II
Helper II

Data table relationship to multiple facts table

Hello, 

I have a multiple star schema or a galaxy schema. What I mean is, there are multiple dimension tables and multiple fact tables with different granularity, all arranged or related like a galaxy schema- I have made sure none have circular relation, all have many-many relationship (because I was getting blank in slicer) and both direction (so that I can slice and dice in any way).

 

Now, I have to introduce a 'Date' table which includes: Month, Year, Type (that classifies, weather the date is history or forecast). I am only able to have relation to any one of 4 fact tables. Unable to have another relationship as it become circular and relationship gets inactive. How can I introduce this shared dimension to all the fact tables?

3 REPLIES 3
spartanboy
Helper II
Helper II

@vanessafvg:

Attached is the model:

To summarize, all the dimensions table are hirearchy of products, and suppliers. The facts tables are at different granularity.

 

spartanboy_1-1638544992306.png

When i create a table with 'Type, Date, Lower Product IDs, Facts' - I get the required results
But, while creating a table with 'Type, Date, SKU IDs, Supplier IDs, Facts' - I get duplicate Dates and Type (ie. history Jan 2021 and forecast Jan 2021)

 

Anonymous
Not applicable

Hi @spartanboy ,

Can you please share the raw data of the corresponding table fields applied to the table visual with duplicate date and type? Are these fields from the same table? If not, were any relationships created between the tables of these referenced fields? Besides that, please provide your expected result with backend logic and special examples. Thank you.

Alternatively, you can refer to the approach in the link below to get the correct results.

Inactive relationships

yingyinr_0-1638949855622.png

Orders Shipped =
CALCULATE(
    COUNTROWS(Sales)
    ,USERELATIONSHIP('Date'[Date], Sales[ShipDate])
)

Get a field value from a related table in Power BI: DAX RELATED Function Explained

yingyinr_2-1638950121637.png

How to use LOOKUPVALUE to match data between two tables

yingyinr_1-1638950008127.png

Best Regards

vanessafvg
Super User
Super User

please share your current relationship view, i am  assuming you have a bi directional relationship that is not allow this to be created as a primary relationships.  You will next to explain what you are trying to do with the bi directional relationship.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors