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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
RonaldS
Regular Visitor

Modeling: Add new column in table with same value for all rows

Hello,

 

New to PowerBI and doing a lot of training right now.

 

I hope an easy question:  how to add a new column in table with same value for all rows.

To add a column is known, but how to set a new single value for all rows with one command?

 

Thank you!

1 ACCEPTED SOLUTION
RonaldS
Regular Visitor

Solved, found the answer...

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

In the Query Editor, go to > Add Column > Custom Column >

In the custom column formula something like = "abc" will create a column of all "abc" values

I would like to know if this works with incremental refresh or not. 

lets assume that i am adding a custom column in my table and setting value = "abc" for example , all the cached rows will have a value 'abc' for a custom column but after every incremental refresh , will new rows have the same value ? 

 

would be great if you can help. 

 

Thank you 

dfechter
New Member

How do you read the solution? When I click on it it just takes me to the bottom of the page.

RonaldS
Regular Visitor

Solved, found the answer...

How do I read the solution? When I click the link it takes me to the bottom of the page.

Hello,

 

I found it here:

 

https://support.office.com/en-us/article/insert-a-custom-column-into-a-table-power-query-2dbb579a-91...

 

Add a custom column, give it a name and enter the value as formula like "ABC"

 

That's all...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors