Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hola
Solicite su orientación para resolver este problema mío
En PBI GET DATA seleccionó WEB y se cargaron los datos, me gustaría agregar una nueva fila para la cual no puedo encontrar una manera, por favor guíame cómo hacer esto
saludos
dsmitha
Solved! Go to Solution.
Puede agregar una fila en Power Query con el comando Table.InsertRows.
Aquí un ejemplo que puede pegar en el editor avanzado después de haberlo asignado a su caso. Hice la fila en cuestión en negrita.
= let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSgWB9Q30jIyDDFIiDUlOUYnUgkiAxI5ikoQGQcC9KTc2DyxsDsQlcM6q8EdRwY7h+kOlOOaWpcGmwLpi0kQFcOhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Project #" = _t, #"Job #" = _t, Date = _t, Count = _t, Category = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"Project #", Int64.Type}, {"Job #", Int64.Type}, {"Date", type date}, {"Count", Int64.Type}, {"Category", type text}}), #"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Job #", "Job"}, {"Project #", "Project"}}), #"Custom1" = Table.InsertRows(#"Columnas renombradas",0, { [Proyecto = 99, Trabajo = 99, Fecha = "31/12/2022", Recuento = 99, Categoría = "Verde"] })
in #"Custom1"
Aquí el resultado (la primera fila fue la que se agregó después):
Hágamelo saber, si esto funciona para usted 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Puede agregar una fila en Power Query con el comando Table.InsertRows.
Aquí un ejemplo que puede pegar en el editor avanzado después de haberlo asignado a su caso. Hice la fila en cuestión en negrita.
= let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSgWB9Q30jIyDDFIiDUlOUYnUgkiAxI5ikoQGQcC9KTc2DyxsDsQlcM6q8EdRwY7h+kOlOOaWpcGmwLpi0kQFcOhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Project #" = _t, #"Job #" = _t, Date = _t, Count = _t, Category = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"Project #", Int64.Type}, {"Job #", Int64.Type}, {"Date", type date}, {"Count", Int64.Type}, {"Category", type text}}), #"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Job #", "Job"}, {"Project #", "Project"}}), #"Custom1" = Table.InsertRows(#"Columnas renombradas",0, { [Proyecto = 99, Trabajo = 99, Fecha = "31/12/2022", Recuento = 99, Categoría = "Verde"] })
in #"Custom1"
Aquí el resultado (la primera fila fue la que se agregó después):
Hágamelo saber, si esto funciona para usted 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Hi tomfox,
Gracias una tonelada, funcionó perfectamente
saludos
dsmitha
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.