Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi There,
I am trying to do data transfromation in Power Query where i am merging my table using Merge as a new . I am using dataflows as my input source in which i have imported 7 tables and i am doing Merge Query to create new table.
I developed two new query using Merge Query and when i did Merge with one of my table "Table 1" with Table 2 i am getting below error when i expanded the column.
Please see below sample of my data :
Data Source- DataFlows
Can anyone help me in resloving this error. ?
Thanks,
Ash
Hi @ashicool_10061 ,
According to your description, the error message “DataFormatError: There were more columns in the result than expected” is usually caused by a mismatch between the merged table structure and the expected format. First of all, you need to make sure that the column names and order in both tables match exactly. And verify that the data types of the columns to be merged are compatible. Because your data source is derived from a data stream, you also need to make sure that the structure (column names and data types) of each table imported in DataFlows matches the structure you expect in Power Query. You also need to have the data in DataFlows successfully refreshed and up-to-date for all tables.
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @v-heq-msft ,
You mentioned all the column name and order in both table shoudl be similar however i am trying to do Merge as new querty with Left Outer join with Table 1 on Table 2 where i am keeping all the columns from Table 1 . As per my kunderstanding in Append Query we should have Same column name and order will be same.
Secondly i have verified data format and my dataflow is being up to date and still i am facing this issue.
So i have changed my dataflow pervioulsy i was using different Dataflow-Dev and not i changed my DATAFLOW- test which have exact same column and table names .
Any other suggestion if you have?
Thanks,
Ash
Can you share your M code here?
Hi @ashicool_10061 ,
it is because of the fields with orange underline.
Those are not present in the section inside the green section. Review it, remove them or add them in the green section and it will be solved.
Hi @mussaenda
I tried the way you mentioned but still it not working. So i tried re creating the report from scratch and now as soon as i am loading the data into the report i am getting below error:
Can you help me in this
Thanks,
Ash
Hi @ashicool_10061,
You may want to check this thread and see if this helps:
https://community.fabric.microsoft.com/t5/Service/DataFlow-Refresh-Error-and-Fix-for-added-Fields-in...
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
12 | |
11 | |
11 | |
8 |