Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi there,
I have a query that is sourced from a database, I want to add a row to it that is just null or something else written in it.
There is no way to practically do it that I can see since the table wasnt manually created by me.
Is there any syntax that can do this?
Solved! Go to Solution.
Hi @shahid_tanmoy ,
Here're two methods for your reference.
Raw data:
Method 1:
Create a new table and append. Append queries - Power Query | Microsoft Learn
Method 2:
Add a step and enter as follows. How can I manually add a row to an existing table in Power Query? ~ Hey Niels!
= Table.InsertRows(
#"Changed Type",
1,
{[ID = "C", Age = 23, Sales = 2000]}
)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Just adding one other method that is similar to option 2 but easier for someone like me. If you go to the "Applied Steps" section and click on the gear to the right of "Source", it will open up the source table and you can scroll down, click the plus and then type in or paste all the extra rows you want to add. It's like the "clicks" version of option 2 from Stephen's awesome post above.
@mguildayThank you so much. I'm a complete noob to Power BI but am pretty adept with Tableau. Sorting columns or rows manually in tableau is pretty easy there. Am surprised at the number of hoops i have to jump through to get similar functionality here. Anyway your post above helped me solve it. Thank you!
Hi @shahid_tanmoy ,
Here're two methods for your reference.
Raw data:
Method 1:
Create a new table and append. Append queries - Power Query | Microsoft Learn
Method 2:
Add a step and enter as follows. How can I manually add a row to an existing table in Power Query? ~ Hey Niels!
= Table.InsertRows(
#"Changed Type",
1,
{[ID = "C", Age = 23, Sales = 2000]}
)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks bruh, you a G man. Been looking all over the net for that simple ass code.
Sadly its not going to work cause randomly, I was going to use a third table with just one column as a connector for 2 other tables to filter them but there are some blank columns, however, powerbi doesnt register the blank or null as a valid slicer option in practice for that blanks in the other tables.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
74 | |
56 | |
37 | |
33 |
User | Count |
---|---|
71 | |
65 | |
58 | |
50 | |
47 |