Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Can anyone help me in removing punctuation from a column in Power Query?
This is what I'm trying:
= Table.TransformColumns(#"Texto em Maiúsculas",{{"descritivo", Text.Select(#"Texto em Maiúsculas"[descritivo], List.Combine({{"A".."Z"},{"a".."z"},{" "}})), type text}})
The column is "descritivo" and the previous step in Power Query is "Texto em Maiúsculas".
Thanks!
Solved! Go to Solution.
Hi @webportal ,
I add a step "Added Custom1" in your formula.
= Table.TransformColumnTypes(Table.AddColumn(#"Uppercased Text", "Custom.1", each Text.Select([Column1],List.Combine({{"A".."Z"},{"a".."z"},{" "}}))),{{"Custom.1", type text}})
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WiogKU0grStRTcAx2iyk1MDAyV4rViVZydHMJdnHXU0gJdNFPB4skFqelF6cWpRvoaoD56YlpKcWKDspKsbEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}}),
#"Uppercased Text" = Table.TransformColumns(#"Changed Type",{{"Column1", Text.Upper, type text}}),
#"Added Custom1" = Table.TransformColumnTypes(Table.AddColumn(#"Uppercased Text", "Custom.1", each Text.Select([Column1],List.Combine({{"A".."Z"},{"a".."z"},{" "}}))),{{"Custom.1", type text}})
in
#"Added Custom1"
Hi @webportal ,
I add a step "Added Custom1" in your formula.
= Table.TransformColumnTypes(Table.AddColumn(#"Uppercased Text", "Custom.1", each Text.Select([Column1],List.Combine({{"A".."Z"},{"a".."z"},{" "}}))),{{"Custom.1", type text}})
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WiogKU0grStRTcAx2iyk1MDAyV4rViVZydHMJdnHXU0gJdNFPB4skFqelF6cWpRvoaoD56YlpKcWKDspKsbEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}}),
#"Uppercased Text" = Table.TransformColumns(#"Changed Type",{{"Column1", Text.Upper, type text}}),
#"Added Custom1" = Table.TransformColumnTypes(Table.AddColumn(#"Uppercased Text", "Custom.1", each Text.Select([Column1],List.Combine({{"A".."Z"},{"a".."z"},{" "}}))),{{"Custom.1", type text}})
in
#"Added Custom1"
Hi @webportal ,
https://www.youtube.com/watch?v=YOmL57g3RMg
Scroll to 6:46
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
@webportal , refer if these can help
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |