Forum Discussion
Andrew_lu1933
4 years agoRegular 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!
NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each if [Name]="GZ" then _&[A1=[A],B1=[B]] else _))
1 Reply
- wdx223_DanielCommunity Champion
NewStep=Table.FromRecords(Table.TransformRows(PreviousStepName,each if [Name]="GZ" then _&[A1=[A],B1=[B]] else _))