Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Create a model with more than one Fact Table is a common scenario, and usually we have to join these Fact Tables against a common set of dimensions.
Common problems of this scenario are circular references (Indirect relations that prevent to activate a direct relation) and models difficult to read and maintain.
I would like to share a practice known as “Linked Table” acquired in my past experiences on different BI tools (QlikView, Cognos).
A “Linked Table” can be expressed in PowerBI as a table that contains the common fields from two or more tables.
In a recent project, I need to create a model in PowerBI to analyze Purchase and Payments Statistics of a Retail Store Chain.
The below table contains a simplified scenario in order to focus on the “Linked Table”:
*Be aware that Payment Statistics are not available on Product Category.
Just for highlight circular references in this simply scenario I enabled Cross Filtering Dimension Option on Both.
As you can see, model prevent to create a relation between Vendor and Purchase Order since this is already filtered by indirect relations:
Fig 1: Data Model with Circular References
If you try to enable the inactive relation you get the classical error in fig2:
Fig 2: Error trying to enable the inactive relation
In order to allow the direct slicer from Vendor Dimension to the Purchase Order we can enhance the model adding the linked table following these steps:
Fig 3: LinkedTable Model
As you can see in Fig3, LinkedTable approach allows your Model to slice both Fact Tables, in addition, the model is more readable and maintainable.
Of course, this is just one of many approach to solve the Scenario.
How did you deal similar Scenario? Do you plan to use Linked Table in your projects?
hi gipiluso,
Thanks for the solution. But I have a problem. I have 3 facts and 4 dim tables:
F1 - links to D1,D2,D3
F2 - links to D2,D3,D4
F3 - links to D3,D4
In this scenario, how do I set up the linked table ? Do I just create 1 broad linked table which (with columns linking to all Dimension tables) and has got distinct entries from each fact table, and NULLs where the dimensions are absent ?
thanks,
If you can create just one linked table i suggest to go for it
Hi @gipiluso,
Thank for sharing, I think these will be help for others who has the similar scenario.
Regards,
Xiaoxin Sheng
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
83 | |
77 | |
40 | |
40 | |
35 |