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
NickolajJessen
Solution Sage
Solution Sage

One-to-many relation not working as expected

I have linked two tables together without problem. A table with Project & sales amount and a filtering table, that contains the projects_ID and a date.

Project_ID and Ledgeraccount are the same.
Udklip1.PNG

 

There is a specifik project, project 978400-06-03, that are in both tables, but somehow doesn't match... (Marked blue below)
A very similar project 978400-06-02, that are also in both tables, are matched without a problem (Marked green below)

 

Udklip2.PNG

 

What did i do wrong?

2 ACCEPTED SOLUTIONS
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @NickolajJessen,

 

By my tests with two tables similar to yours, it seems that everything works as expected.

 

relationship.PNG

 

Here is the output.

 

Capture.PNG

It seems that your relationship is not active, please active it and try again.

 

If you still need help, please share some data sample which could reproduce your scenario so that we could help further on it.

 

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
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

Hi @v-piga-msft

 

Thank you for your response.

 

From your example i realisered that my relasionship was actually inactive. Indicated by a dotted line in stead of a full line.
This was caused by some other tables having bi-directional relationships (I think)
I revised the bi-directionaltables and activated the relationship between the two tables in question and now it's working as expected!


View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @NickolajJessen,

 

By my tests with two tables similar to yours, it seems that everything works as expected.

 

relationship.PNG

 

Here is the output.

 

Capture.PNG

It seems that your relationship is not active, please active it and try again.

 

If you still need help, please share some data sample which could reproduce your scenario so that we could help further on it.

 

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft

 

Thank you for your response.

 

From your example i realisered that my relasionship was actually inactive. Indicated by a dotted line in stead of a full line.
This was caused by some other tables having bi-directional relationships (I think)
I revised the bi-directionaltables and activated the relationship between the two tables in question and now it's working as expected!


Hi @NickolajJessen,

 

It seems that you have solved your problem.

 

Please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.