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
dhannaa
Helper IV
Helper IV

Composite model relationships / shared dimension tables

I'm building a report with a composite model of two already quite extensive datasets. What is the recommended way to combine these two datasets as they both include a couple of identical dimension tables (date, cost centers etc.)?

1 ACCEPTED SOLUTION
v-xiaoyan-msft
Community Support
Community Support

Hi @dhannaa

 

We recommend that you use the star schema, consider that each Power BI report visual generates a query that is sent to the Power BI model (which the Power BI service calls a dataset). These queries are used to filter, group, and summarize model data. A well-designed model, then, is one that provides tables for filtering and grouping, and tables for summarizing. This design fits well with star schema principles.

To build a star schema for your data model, you may refer to How to design a Star Schema and design tips ,and more details.

 

On the other hand, smaller models achieve faster data refresh, resulting in lower latency reporting, higher dataset refresh throughput, and less pressure on source system and capacity resources. Smaller table row counts can result in faster calculation evaluations, which can deliver better overall query performance.

You can reduce the size of the data model by focusing on the following ways:

 

Also a composite model can be optimized by configuring table storage modes and by adding aggregations.

 

Hope it helps,

 

Caitlyn Yan

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Tom_Y
Helper III
Helper III

@dhannaa How did you solve the problem? I know it's 2 years ago. I have the same problem, quite a few extensive well established semantic models, but duplicated date table in each of them. Where do you finally put your date table?

Thanks in advance

MattWills
Frequent Visitor

This is the only way we've got around the issue, by in effect bringing in the common dimension with each linked dataset, plus also a new copy of the dimension then linking that to the two external dimensions - it works but I appreciate if you've lots of dimensions it's going to get messy. 

MattWills_0-1670505778746.png

 

Guillaume_
Helper I
Helper I

I have the same question and requirement and the solution provided does not answer the request from the OP.

Any idea? Is it actually possible in Power BI ?

v-xiaoyan-msft
Community Support
Community Support

Hi @dhannaa

 

We recommend that you use the star schema, consider that each Power BI report visual generates a query that is sent to the Power BI model (which the Power BI service calls a dataset). These queries are used to filter, group, and summarize model data. A well-designed model, then, is one that provides tables for filtering and grouping, and tables for summarizing. This design fits well with star schema principles.

To build a star schema for your data model, you may refer to How to design a Star Schema and design tips ,and more details.

 

On the other hand, smaller models achieve faster data refresh, resulting in lower latency reporting, higher dataset refresh throughput, and less pressure on source system and capacity resources. Smaller table row counts can result in faster calculation evaluations, which can deliver better overall query performance.

You can reduce the size of the data model by focusing on the following ways:

 

Also a composite model can be optimized by configuring table storage modes and by adding aggregations.

 

Hope it helps,

 

Caitlyn Yan

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-xiaoyan-msft  for your thorough answer.

 

I'm actually having two datasets with star schemas (sales + finance) and they already both contain a date table as one dimension table. I'm just wondering here what is the best possible way to build the composite model here to achieve just one date table as a dimension. Are there some examples for building this kind of composite model, I haven't found any?

 

Jenni

amitchandak
Super User
Super User

@dhannaa , the dimension should be only one.  You can prefer to have dimensions in dual or import mode.

 

if needed, append dimensions data.

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.