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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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