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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
amirabedhiafi
Impactful Individual
Impactful Individual

Define execute for all rows in Table.AddColumn

In Table.AddColumn function, which default parameter is used to define execute for all rows?

  • Each Row
  • Each
  • Allows
  • All
Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini
1 ACCEPTED SOLUTION
amirabedhiafi
Impactful Individual
Impactful Individual

The third parameter to this function is a columnGenerator as function - see the documentation here  you can use the each expression there, as illustrated in the example.

BTW if we add a Custom Column via the UI and use the displayed dialog box, we don’t have to write the each expression just the condition - the UI will write the rest of the code for.

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

View solution in original post

1 REPLY 1
amirabedhiafi
Impactful Individual
Impactful Individual

The third parameter to this function is a columnGenerator as function - see the documentation here  you can use the each expression there, as illustrated in the example.

BTW if we add a Custom Column via the UI and use the displayed dialog box, we don’t have to write the each expression just the condition - the UI will write the rest of the code for.

Amira Bedhiafi
Full Stack Business Intelligence Consultant @Capgemini

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors