The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
Is there a way I can only keep values that have 10 digits?
For example I want to keep only the fields that have 10 digits?
Solved! Go to Solution.
Hi @amandabus21 ,
try this:
Table.SelectRows(PreviousStep, each Text.Length([Column1]) > 10 )
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjIwMDI0MLI0MDRQitWB8IHIHIVjYmpmhFuWDhwzAwNzCxjHwMAYwTTEKoqdaUgaMxYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Filtered Rows" = Table.SelectRows(Source, each Text.Length([Column1]) > 10 )
in
#"Filtered Rows"
I like the solution provided above by: latimeria; however, instead of " > 10 ", I think you would want " = 10 ".
Good luck.
I like the solution provided above by: latimeria; however, instead of " > 10 ", I think you would want " = 10 ".
Good luck.
Hi @amandabus21 ,
try this:
Table.SelectRows(PreviousStep, each Text.Length([Column1]) > 10 )
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjIwMDI0MLI0MDRQitWB8IHIHIVjYmpmhFuWDhwzAwNzCxjHwMAYwTTEKoqdaUgaMxYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Filtered Rows" = Table.SelectRows(Source, each Text.Length([Column1]) > 10 )
in
#"Filtered Rows"
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
180 | |
52 | |
39 | |
27 | |
25 |