Hi,
Can someone help with information or direct me to post or blog re how the replacer function works in M ,
I have basic replace value ;
which can be re written ;![]()
Please Login or Register to view this content.
but to take a stage further and replace based on another column;![]()
Please Login or Register to view this content.
Table.ReplaceValue( Source,
each [Unit] ,
each if [Item] = "A" then [Unit] * 10 else [Unit] , Replacer.ReplaceValue, {"Unit"} )
But I cannot figure how to re write with 'custome replacer' , I have tried various such as ;
=Which I thought item = "A" then z = current valuue * 10 ?![]()
Please Login or Register to view this content.
Richard.
Bookmarks