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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RasW
New Member

Power Query data merging problem

I need to merge two tables: sales $ values and the quantity. The first table has quantity and I am trying to get sales $ values from the second table. Both tables have 12 matching fields. I am getting an error "power query merge dataformat.error we couldn't convert to number detail 'c1'". I removed all errors and blank rows from my data. Still, I cannot merge those data. 

1 ACCEPTED SOLUTION

Thank you for your quick response. Since I am not authorized to share my data I was preparing a mock sample set. Then I found my original data have some empty cells. (I removed empty rows/errors in later steps, somehow it didn't help and I got an error when I was merging two data sets).

I replaced those empty cells with zeros in the original data, then the problem was solved. 

Again thank you very much for your willingness to help. I am new to Power Query, I may need your help in the future.

Thank you!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Can you post some sample data and some M code?

Thank you for your quick response. Since I am not authorized to share my data I was preparing a mock sample set. Then I found my original data have some empty cells. (I removed empty rows/errors in later steps, somehow it didn't help and I got an error when I was merging two data sets).

I replaced those empty cells with zeros in the original data, then the problem was solved. 

Again thank you very much for your willingness to help. I am new to Power Query, I may need your help in the future.

Thank you!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.