Complete the code to replace all occurrences of "OldValue" with "NewValue" in the 'Status' column.
Table = Table.ReplaceValue(Source, "OldValue", [1], Replacer.ReplaceText, {"Status"})
We need to replace "OldValue" with the string "NewValue". So the replacement value must be a text string with quotes.
Complete the code to replace all null values in the 'Sales' column with 0.
Table = Table.ReplaceValue(Source, null, [1], Replacer.ReplaceValue, {"Sales"})
We replace null with the number 0, so no quotes are needed.
Fix the error in the code to replace "Pending" with "Completed" in the 'OrderStatus' column.
Table = Table.ReplaceValue(Source, "Pending", [1], Replacer.ReplaceText, {"OrderStatus"})
The replacement value must be a text string, so it needs quotes: "Completed".
Fill both blanks to replace all occurrences of "Low" with "High" in the 'Priority' column using the correct replacer.
Table = Table.ReplaceValue(Source, [1], [2], Replacer.ReplaceText, {"Priority"})
We replace the text "Low" with "High" using the text replacer.
Fill all three blanks to replace null values with "Unknown" in the 'Category' column using the correct replacer.
Table = Table.ReplaceValue(Source, [1], [2], [3], {"Category"})
We replace null with the text "Unknown" using the value replacer.