cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Coan7 Member
Member

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

Accepted Solutions
Mvignesh53 Member
Member

Re: Filter options: merge tables and bi directional relationship

Hi,

 

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

 

Do "Accept as Solution" if this solves your Issue Smiley Happy 

3 REPLIES 3
Mvignesh53 Member
Member

Re: Filter options: merge tables and bi directional relationship

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.

Coan7 Member
Member

Re: Filter options: merge tables and bi directional relationship

@Mvignesh53  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.

 

 

Mvignesh53 Member
Member

Re: Filter options: merge tables and bi directional relationship

Hi,

 

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

 

Do "Accept as Solution" if this solves your Issue Smiley Happy 

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 419 members 4,140 guests
Please welcome our newest community members: