The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now
Hi,
I need to remove  and , charecters from the below column values:
EMPT     ÂÂ
and I have used the below query , but it does not work for me:
#"Added Custom" = Table.AddColumn(#"Extracted Text Range", "Custom", each Text.Replace(Text.Remove([UNIT_STR_QTY],{"Â", "Ã"}), "#(00A0),#(00A0)", ""))
the above query gives me the below value:
EMPT‚ ‚ ‚ ‚ ‚ ‚
now If I just use the above query as :
#"Added Custom" = Table.AddColumn(#"Extracted Text Range", "Custom", each Text.Remove(Text.Remove([UNIT_STR_QTY],{"Â", "Ã"}), {","})),
It does not work for me and it still gives me:
EMPT‚ ‚ ‚ ‚ ‚ ‚
Please help me.
Solved! Go to Solution.
You can use this extra piece of code to get rid of the ,
#"Replaced Value" = Table.ReplaceValue(Source,"‚","",Replacer.ReplaceText,{"Column1"}) in #"Replaced Value"
Goodluck! 🙂
Yo can split the column from the first à and remove everything to the right of it.
also this will work:
#"Replaced Value" = Table.ReplaceValue(#"Changed Type","Â","",Replacer.ReplaceText,{"Column1"}), #"Replaced Value1" = Table.ReplaceValue(#"Replaced Value","Â","",Replacer.ReplaceText,{"Column1"}) in #"Replaced Value1"
for the particular example given. If you have a more variety of data, please show a little more so i can adjust my methods.
Hi,
You code is woring on columns where I have only values as:
ÂÂ
but it did not works on the columns of values like:
     ÂÂ
or
MZ BERGER & CO INC (DISC) ÂÂ
Please help on this type of variations also.
You can use this extra piece of code to get rid of the ,
#"Replaced Value" = Table.ReplaceValue(Source,"‚","",Replacer.ReplaceText,{"Column1"}) in #"Replaced Value"
Goodluck! 🙂
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
User | Count |
---|---|
158 | |
106 | |
96 | |
83 | |
75 |
User | Count |
---|---|
153 | |
137 | |
131 | |
81 | |
61 |