Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I'm unable to use wildcard characters when changing the values in a column.
Unable to add the screenshot from my local machine to describe the issue more properly (what does the Source text field mean in the pop up?).
Steps to reproduce:
Please advise if this is a bug or there is a different syntax for using wildcards.
Solved! Go to Solution.
Hi @Anonymous,
You can write Power Query below:
= Table.ReplaceValue(#"Changed Type",each [C1],each if Text.StartsWith([C1],"5/") and Text.EndsWith([C1],"/2018") then "MAY-18" else [C1],Replacer.ReplaceValue,{"C1"})
You can refer to attached pbix file.
Best Regards,
Qiuyun Yu
Hi @Anonymous,
You can write Power Query below:
= Table.ReplaceValue(#"Changed Type",each [C1],each if Text.StartsWith([C1],"5/") and Text.EndsWith([C1],"/2018") then "MAY-18" else [C1],Replacer.ReplaceValue,{"C1"})
You can refer to attached pbix file.
Best Regards,
Qiuyun Yu
I can follow this answer to a certain extend but when I open the advanced editor in my sheet where am I suppose to add the
replacement code and how did you get the C1 label to ID the column?
= Table.ReplaceValue(#"Changed Type",each [C1],each if Text.StartsWith([C1],"5/") and Text.EndsWith([C1],"/2018") then "MAY-18" else [C1],Replacer.ReplaceValue,{"C1"})