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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
DTV
Regular Visitor

Create a new column with content of a specific cell reference

I have a text in a column named Column1 at row 4, which I need to apply against each row of data as a new column.

I have tried as follows: = Table.AddColumn(#"PreviousStep", "NewColumn", each [Column1]{3}) 

I don't get any syntax error and the new column gets created, but every line in this new column just shows "Error"

Can you help solve this issue.

1 ACCEPTED SOLUTION
slorin
Super User
Super User

Hi,

 

= Table.AddColumn(#"PreviousStep", "NewColumn", each #"PreviousStep"[Column1]{3})

 Stéphane

View solution in original post

1 REPLY 1
slorin
Super User
Super User

Hi,

 

= Table.AddColumn(#"PreviousStep", "NewColumn", each #"PreviousStep"[Column1]{3})

 Stéphane

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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