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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
BI_MI
Frequent Visitor

Different results when using merge query and relationship

Hi,

 

I have an issue in Power BI with different result using merge query in query editor and using relationship in desktop.

Here is the result:

 

https://ibb.co/9yLZwHC 

The column on the right is coming from the relationship and the column in the middle is based on the merging.

 

https://ibb.co/FXTCM7X (Relationship)

https://ibb.co/j8Q9xhD (Merge)

 

What I discover is it seems that the issue is coming when the last part of the key contains letter (example 207C3 or 126A0)

https://ibb.co/yqYhf5K 

But when it is only numeric it works (example 10410) :

https://ibb.co/71jWRkq 

I don't really understand why the relationship is working perfectly but not the merge when last part of the key contains letter.

Key (ZPCSO) used for all link is text type in all tables.

 

Thanks to let me know if you have any idea.

 

 
1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@BI_MI ,

 

Yes, you need to remove the non-printable character firstly before merging.

1.PNG 

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@BI_MI ,

 

Yes, you need to remove the non-printable character firstly before merging.

1.PNG 

 

Regards,

Jimmy Tao

BI_MI
Frequent Visitor

@v-yuta-msft  Thanks a lot !

You are right I had unprintable object.

Does it mean that the relashionship and the merge query use different option ?

v-yuta-msft
Community Support
Community Support

@BI_MI ,

 

Please check if there is any unprintable text in ZPCSO.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.