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.
Hola
¿Cómo haría para eliminar todo el texto aparte de los valores de fecha de esta columna a continuación?
Cualquier ayuda será muy apreciada.
Estos son los pasos que necesitas
[to = Text.Combine (List.Transform (List.FirstN( Text.Split([DATA]," "),3), (x)=> Text.Replace(x,",","")),".")
][to]
Hola, Muchas gracias por el código anterior, ¿cómo lo usaría como último paso en los pasos a continuación?
Hola, Muchas gracias por el código anterior, ¿cómo lo usaría como último paso en los pasos a continuación?
Bastante simple si el formato de sus datos es consistente.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WciwoysxRMDIwMlaK1YFxjQ10QEImmEJmCuWZJRkKefkKrsH6oT6OYBVepXkweUOwgG9iUXKGgrEhWMgIqiYHLgAxoyAxMwVoio4C0BgdhfwiBVenYIXyxMyy1CKIvaXpUB2GZkqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [DATA = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"DATA", type text}}),
#"Extracted Date" = Table.AddColumn(#"Changed Type", "Date", each Date.From(Text.BeforeDelimiter([DATA], " ", 2)))
in
#"Extracted Date"
Por favor, pruebe esto
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WciwoysxRMDIwMlaK1YFxjQ10QEImmEJmCuWZJRkKefkKrsH6oT6OYBVepXkweUOwgG9iUXKGgrEhWMgIqiYHLgAxoyAxMwVoio4C0BgdhfwiBVenYIXyxMyy1CKIvaXpUB2GZkqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [DATA = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"DATA", type text}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each [
to = Text.Combine (List.Transform (List.FirstN( Text.Split([DATA]," "),3), (x)=> Text.Replace(x,",","")),".")
][to]),
#"Changed Type1" = Table.TransformColumnTypes(#"Added Custom",{{"Custom", type date}})
in
#"Changed Type1"
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 |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |