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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
AmiraBedh
Most Valuable Professional
Most Valuable Professional

1 to many relationship not working as expected

I have the following model :

 

AmiraBedh_0-1723665538101.png

 

You can see that the relationship 1 to many between the Fact Journals and the Dim Client based on the Client Id which is inactive since Dim Client is linked to Dim Account and it is an active relationship.

 

When I try to add in a table visual the Client Id from Fact Journals and the Client Id from Dim Client, I get unexpected result like below :

AmiraBedh_1-1723665795716.png

When I check in my database using LEFT JOIN, I find that the Journals Client Id = fidinc_00000005 from the fact table there is no Client Id in the Dim Client

So why the result is not 

Client Id          Journals Client Id

 NULL             fidinc_00000005

 

why the values are different ?

 

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @AmiraBedh ,

 

it's because it's in active and it's passing the filter through the dim account then passing through to the fact journal.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @AmiraBedh ,

 

it's because it's in active and it's passing the filter through the dim account then passing through to the fact journal.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




AmiraBedh
Most Valuable Professional
Most Valuable Professional

I had a doubt because it is an active just wanted to make sure that my thoughts are not wrong.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.