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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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"})
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 113 | |
| 105 | |
| 39 | |
| 35 | |
| 26 |