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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.