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
Anonymous
Not applicable

Filter options: merge tables and bi directional relationship

Hi, 

 

I have several filters coming from dimension tables and it should only show values in the fact table. 

To make this possible I have to set the directions of relationship  to "BOTH" or I would have to merge all dimension tables into the fact table and use the columns in the flattened fact table as filter.

 

Conventional wisdom of datamodelling says that you should not flattening tables (merge option) and avoid BI directional relationship. 

 

So which of the "bad" option is the best, or is there another way to filter fact values??

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

I think you should consider using DAX and Creating a calculated Diemension Table.

 

Do "Accept as Solution" if this solves your Issue 🙂 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

Instead of doing any of this, Might I suggest that you do a DISTINCT(Fact[Diemension_Column]). You can use this as the Diemension Table with a Single Directional Relationship flowing from the Diemension Table to the Fact Table.

Anonymous
Not applicable

@Anonymous  thx for your reply.

 

I have thought about this and this off course would also do the trick. 

I wonder which method has a better performance: getting dimensiontable from database or using DAX to make dimension table.

 

 

Anonymous
Not applicable

Hi,

 

I think you should consider using DAX and Creating a calculated Diemension Table.

 

Do "Accept as Solution" if this solves your Issue 🙂 

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.