March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
i want to filter out only words (numbers not allowed ) from a column without adding a column.
Table.AddColumn(#"Changed Type", "Custom1", each Text.Select([Column1],{"A".."z"}))
Solved! Go to Solution.
Use this
= Table.ReplaceValue(#"Changed Type",each [Column1],each if Value.Is(Number.From([Column1]), type number) then null else [Column1] ,Replacer.ReplaceValue,{"Column1"})
Use this
= Table.ReplaceValue(#"Changed Type",each [Column1],each Text.Select([Column1],{"A".."z"," "}),Replacer.ReplaceValue,{"Column1"})
Thanks this worked is there a way that filter out like
sample input
sdjwd
122
33wdwq
213
adsdwd232
dw
output
sdjwd
33wdwq
adsdwd232
dw
Use this
= Table.ReplaceValue(#"Changed Type",each [Column1],each if Value.Is(Number.From([Column1]), type number) then null else [Column1] ,Replacer.ReplaceValue,{"Column1"})
Hi @dhruvgulati ,
Table.TransformColumns( Source, {"Column1", each Text.Select(_,{"A".."z"})})
#"Filtered Rows2" =Table.TransformColumns( Source, {#"Filtered Rows1", each Text.Select(_,{"A".."z"})})
error
syntax:
#"Filtered Rows2" =Table.TransformColumns( PreviousStep, {"Column name to transform", each Text.Select(_,{"A".."z"})})
in your case
#"Filtered Rows2" =Table.TransformColumns( #"Filtered Rows1", {"Custom1", each Text.Select(_,{"A".."z"})})
Or you can user Table.ReplaceValue, same output.
Can you post some sample data and result corresponding to the data?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
34 | |
31 | |
20 | |
19 | |
17 |