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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.