Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Add new Rows maually in Power Query Editor

Hi guys, i need help with the Power Query Editor. Is it possible to add just 2-3 Rows in Table, which is already in your Data model?  
  • parry2k's avatar
    4 years ago

    Anonymous create another table by adding new rows and then append with your existing table. Make sure the new table you create has the same column names

     

     

     

    Follow us on LinkedIn and  to our YouTube channel

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

     

  • serpiva64's avatar
    4 years ago

    Hi, 

    You can use Table.Insert Rows

    something like this :

    = Table.InsertRows(#"Changed Type",5,{ [Statement Date = "1/5/2022", Currency = "EUR",Amount in Local Currency = "1"] })

    where 5 is the number of the last row and what is between square brackets is the row (in this exemple trere are 3 columns Statement Date,Currency and Amount in Local Currency)

     

    If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !