Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Tengo informes enviados automáticamente por correo electrónico desde el servidor de mi empresa. Actualmente realizo la transformación en Excel, pero estoy buscando obtener la configuración del proceso en PowerBI para la automatización.
Mi problema es que los informes se envían en este formato, y no puedo cambiarlos:
Nombre: Tipo 1 Tipo 2 Tipo 3
Me gustaría usar una consulta en BI para transformar los datos a esto:
Nombre: Tipo 1
Nombre: Tipo 2
Nombre: Tipo 3
No he podido encontrar un alma en ninguna parte de esto. Las columnas pivotantes y no pivotantes no hacen lo que estoy tratando de hacer.
Estoy tratando de fusionar todas mis columnas 'Tipo' en una sola columna, esencialmente agregándolas como filas adicionales a una columna existente.
¿Es esto posible en PowerBI? Cualquier sugerencia sería muy apreciada!
Creé un archivo pbix de muestra (ver el archivo adjunto), verifique si eso es lo que desea.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("RcqhDcNAEETRXg4b5GZnbFfhBqwDAYFh6V+Rviwteejd97je389rjm38JgoLjZljbU8UEYWFxqhjEVFYaEx1NBGFhca4Y4goLDQmHXciCguN2TseRBQWGnN0PIkoLDTmHGv9AQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, #"Type 1" = _t, #"Type 2" = _t, #"Type 3" = _t, #"Type 4" = _t, #"Type 5" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Type 1", type text}, {"Type 2", type text}, {"Type 3", type text}, {"Type 4", type text}, {"Type 5", type text}}),
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"Name"}, "Types", "Value"),
#"Merged Columns" = Table.CombineColumns(#"Unpivoted Other Columns",{"Name", "Types"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"Merged")
in
#"Merged Columns"
Saludos
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.