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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sarfkermali
Frequent Visitor

How do you add a new row to a table?

How would you go about adding a row to the table below with the following data using only DAX?

 

location: New York

Type: Big

date: april, 2017

# people: 1000

 

 

Table 1

 

LocationTypedate# people
calgaryBigmarch, 20171143
torontoSmallmarch, 2017242
californiaSmallmarch, 2017609
mogadishuBigmarch, 20170
1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

basically it's not possible to add rows to a table using DAX, for this reason I would recommend to add the new data to the data source of your "Table 1".

 

You can use DAX to create a new table, a calculated table, like so (Modeling Menu --> Calculations ribbon --> "New Table"):

new table = 
UNION(
    'Table 1'
    , ROW(
        "location", "New York"
        ,"Type", "Big"
        ,"date", "april, 2017"
        ,"# people", 1000
    )
)

Wondering you get the data to your "Table 1"?

 

If you entered the data using "Enter Data", you can add data to the data by opening the Query Editor, by using the "Edit Queries" from the "External Data" ribbon on your home menu. Then just click the gear icon right to the source step.

 

Hopefully this is what you are looking for.

 

Regards

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey,

 

basically it's not possible to add rows to a table using DAX, for this reason I would recommend to add the new data to the data source of your "Table 1".

 

You can use DAX to create a new table, a calculated table, like so (Modeling Menu --> Calculations ribbon --> "New Table"):

new table = 
UNION(
    'Table 1'
    , ROW(
        "location", "New York"
        ,"Type", "Big"
        ,"date", "april, 2017"
        ,"# people", 1000
    )
)

Wondering you get the data to your "Table 1"?

 

If you entered the data using "Enter Data", you can add data to the data by opening the Query Editor, by using the "Edit Queries" from the "External Data" ribbon on your home menu. Then just click the gear icon right to the source step.

 

Hopefully this is what you are looking for.

 

Regards

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thank you Tom!

 

"gear icon right to the source step" - I would never have worked that out as the way to add another row to a table of data I manually entered!!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.