Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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"})
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |