Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I pulled 14 records from the Amazon Redshift database and wanted to add 2 rows using Power Query.
The below is the power query I used:
let
(1) - Source = Value.NativeQuery(AmazonRedshift.Database("SQL QUERY AND DATABASE HERE'", null, [EnableFolding=true]),
(2) - InsertFirstRow = Table.InsertRows(Source, 15, "Incomplete")
in
InsertFirstRow
After (1), it give me the 14 records with employee name and their assigned territories (as an example):
| Name | Territory ID | Territory Name |
| A | 1 | Utopia |
| B | 2 | Hell |
However, as soon as I tried add another row, it came up with the error as below:
Expression.Error: We cannot convert the value "Incomplete" to type List.
Details:
Value = Incomplete
Type = [Type]
I thought the data that gets exported from the database would be in the form of table, not list in power bi file.
Could you please advise how I can address this issue?
Thank you!
Source is a table, nothing wrong with that part.
However, the 3rd parameter of Table.InsertRows is a list which is supposed to be made up of the data values to populate the row. The code you have shown is just trying to insert a string - "Incomplete".
See https://learn.microsoft.com/en-us/powerquery-m/table-insertrows
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.