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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
SudhirMunjal
New Member

Data relationship

Hi, for some reason I'm not able to create relationship between 3 tables.

 

1. 1st relationship between two tables. - company to company. Purpose is to filter the page with desidered companies.

SudhirMunjal_0-1639051845398.png

2. 2nd relationship between table revenue and calendar. - date to date. Purpose is to filter the page with desired period.

SudhirMunjal_1-1639052120925.png

I'm not able to make the second relationship active due to above error message.

Help in this regard is highly appreciated.

 

1 ACCEPTED SOLUTION

I suspect you might also have a bi directional many to many relationship between demographic and hist revenue. The four tables demographic, hist revenue, calendar and revenue would need to look like:

bcdobbs_0-1639061223584.png

You would however be better to separate portfolio and company out into their own dimensions so you have a unique list of both which removes the many to many relationships.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

4 REPLIES 4
SudhirMunjal
New Member

Hi,

 

This is the relationship matrix amoung various tables.

SudhirMunjal_0-1639057625526.pngSudhirMunjal_1-1639057672740.png

The initial solution of single filtering is not working.

I suspect you might also have a bi directional many to many relationship between demographic and hist revenue. The four tables demographic, hist revenue, calendar and revenue would need to look like:

bcdobbs_0-1639061223584.png

You would however be better to separate portfolio and company out into their own dimensions so you have a unique list of both which removes the many to many relationships.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Have a read of:

Bidirectional relationships and ambiguity in DAX - SQLBI



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
bcdobbs
Super User
Super User

Can you send a screen shot of the rest of your data model? I suspect your date table is related to another table which in turn related demographic.

 

As an initial solution set the cross filter direction as single with demographic filtering revenue.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.