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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
PowerBiased
Regular Visitor

Help Needed: Error Merging Text Columns in Power BI

Hello Power BI Community,

 

I've encountered a perplexing issue in Power BI Desktop and could use some guidance. I am attempting to merge two tables based on text columns, but despite both columns being of type Text, the operation fails with an error indicating a type mismatch.

 

Here are the steps I've taken and relevant details:

 

Objective: Merge Table1 and Table2 using the "contractNumber" column from both tables to combine related records.

Data Types: Confirmed both "contractNumber" columns in Table1 and Table2 are of type Text.

Join Type: Using an Inner Join as it suits my requirement to match records present in both tables.

Error Message: "Expression.Error: Désolé... Nous n'avons pas pu convertir la valeur '[Record]' en type Record. Détails: Value=[Record] Type=[Type]"

 

Troubleshooting Steps Already Attempted:

 

Checked for hidden or non-printable characters using Text.Trim and Text.Clean functions.

Ensured case consistency by converting both columns to lowercase.

Refreshed data in Power BI to ensure all changes were applied.

Manually inspected the data for anomalies.

Attempted to recreate the merge step with the same configurations.

Despite these efforts, the merge operation continues to fail. I have not encountered this issue before and have successfully performed similar merges in the past.

 

Complementary information:

The error only applies to PBIX file, the online service still manages to update daily. Nothing has changed in the semantic model, it just started occurring out of the blue.

 

Questions:

 

Has anyone experienced a similar issue or have any insights on what might be causing this error?

Are there any additional troubleshooting steps or alternative approaches you would recommend?

Could this issue be related to a recent update or is there a known bug in the current Power BI version (2.127.1235.0)?

I appreciate any advice or guidance you can provide. Thank you for your help!

 

Best regards,

1 ACCEPTED SOLUTION

Data Privacy Broken: We cannot convert the value "... - Microsoft Fabric Community

 

This thread finally did the trick... a 2016 issue turned out to be relevant for me in 2024 🙂

View solution in original post

9 REPLIES 9
PowerBiased
Regular Visitor

I'm not certain, but I'd guess it happens before or during the merge. If I click each steps in the right Query Steps portion of the screen, I end up with the following error :

PowerBiased_0-1712060178461.png

Also, all the records are expanded in both tables prior to this step.

 

Thanks

If you go one by one, in which step does the message first appears?





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





The one highlighted in the screen capture. It's french for Merged Queries

Can you share a screenshot of the Merge Queries UI window?




Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





PowerBiased_0-1712174816394.png

Voila! Thanks

Would it be possible for you to share the .pbix file? There is definitely something strange going on in one of the previous steps.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Unfortunately, I cant share the file since it contains confidential informations.

 

Thanks for trying

Data Privacy Broken: We cannot convert the value "... - Microsoft Fabric Community

 

This thread finally did the trick... a 2016 issue turned out to be relevant for me in 2024 🙂

ray_aramburo
Super User
Super User

Does the issue appear before or after merging the queries? Can you provide a screenshot of how you are setting up the merge in Power Query?

Records would need to be expanded from the table you want to bring in data as well.

 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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