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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Data modeling and relationships

Hi guys,

 

I am a newbie. I am really confused with data modeling to fix my relationships:

 

I want to combine two columns from different tables to each other. Both columns are a loannumber (Customer ID) column.

 

1: I dont understand whether to fix this data modeling (Star schema) with DAX or Power Query Editor.

 

2: Can I use Merge Queries to subset the two columns together or must I really do it with DAX?

 

3: If I do it with DAX, what code must I use (for example using UNION with Select Columns or DISTINCT)?

 

4. If I merge it with power query, who should I do it.

 

I am still getting that I dont have any relationships, so this is very annoying.

 

Regards,

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Are you able to share your data so we can see what the strucure actually is?

View solution in original post

5 REPLIES 5
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Are you able to share your data so we can see what the strucure actually is?

Anonymous
Not applicable

@jdbuchanan71 jdbuchanan71

And the only value in both of the highlighted tables is LoanNumber and you want to combine it into one long table with all the values in one column?

Anonymous
Not applicable

@jdbuchanan71  I want loannumber (and Arrearsbucket) to have relationship with Servicing_Defaultmanagement and Servicing_Loanpart. So the red cirkeled columns are my dimension tables.

 

Loannumber colums is a kind of CustomerID column. 

 

I subsetted loannumber and arrearsbucket as this : 

Loannumber2 = DISTINCT(Servicing_LoanPart[LoanNumber])
 
I dont know whether it is good

 

 

 

 

 

I'm sorry, in your picture you have the relationship already set.  Is it not working the way you want it to?  I'm not understanding the problem you are trying to solve.  Do you have a visual in power BI that shows the wrong results and can you give an example of what the results should be?

2019-08-04_relationshipshighlighted.jpg

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.