Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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"})
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 84 | |
| 71 | |
| 38 | |
| 29 | |
| 27 |