Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @aznariy,
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 @aznariy,
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"})
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |