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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Andrew_lu1933
Regular Visitor

How to use Table.ReplaceMatchingRows() third paramters?

in document, we see there is third paramters, but we can't find how to use third parameter.

 

 

Table.ReplaceMatchingRows(
table as table, 
replacements as list, 
optional equationCriteria as any
)

 

I have one requirement, if [Name] = "GZ", each [A1] column == [A], [B1]==[B], 

can use Table.ReplaceMatchingRows ?

if use Table.ReplaceValue() only change one column in one time!

Andrew_lu1933_0-1653977014500.png

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each if [Name]="GZ" then _&[A1=[A],B1=[B]] else _))

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each if [Name]="GZ" then _&[A1=[A],B1=[B]] else _))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors