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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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