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
smtiwari
Helper I
Helper I

Multiple Column Relationship- Power BI Data Model

Hi All,

 

I have a question about defining multiple column relationship between 2 tables.I am defining RLS on UserProfile  :

 
 

Query.PNG

 

I want to filter Company on basis of User Profile table, combination of 3 columns- OrganizationId, ShopId and OfficeId

However, OfficeId can be null so in such cases, I have to only consider OrganizationId and ShopId for joining, so that in my report I am able to view all Offices for that OrganizationId- ShopId Combination.

Also making sure the filter propagates from many to one side , which is not happening? Any workarounds?

2 ACCEPTED SOLUTIONS
v-diye-msft
Community Support
Community Support

Hi @smtiwari 

 

Do you mean you'd like to join the table by several columns in the table?

Plz kindly refer to below threads fror better practice:

https://community.powerbi.com/t5/Desktop/Join-tables-based-on-multiple-columns/td-p/277802

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/688736

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/1091757

 

Community Support Team _ Dina Ye
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

Thanks @v-diye-msft  for your response, I used the same method but I also had to tweak my data model for it to work.

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @smtiwari 

 

Do you mean you'd like to join the table by several columns in the table?

Plz kindly refer to below threads fror better practice:

https://community.powerbi.com/t5/Desktop/Join-tables-based-on-multiple-columns/td-p/277802

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/688736

https://community.powerbi.com/t5/Desktop/Conditional-join-on-multiple-columns/m-p/1091757

 

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

Thanks @v-diye-msft  for your response, I used the same method but I also had to tweak my data model for it to work.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.