Different transformations can be applied to a distinct subset of data through the use of conditions (if-then-else logic) on custom columns, filters, or applied steps to specifically locate and target specific rows and other such data based on several of its values.
Recommended Approach
Conditional Logic in Custom Columns
A custom column could be set with different transformation rules:
if [Category] = "TextFix" then Text.Replace([Value], "old", "new")
else if [Category] = "ConvertToNumber" then Number.FromText([Value])
else null