Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola
¿Es posible utilizar la función de relleno en Power Query Editor para rellenar celdas en blanco con nombres? En este ejemplo, estoy tratando de llenar "Wentworth Property Co" solo a la celda en blanco de abajo, deteniéndose en "Estrella Mountain Ranch" a continuación:
Número | Nombre |
1 | Ciudad de la Libertad |
2 | Gestión de residuos |
3 | Wentworth Property Co. |
4 | |
5 | Estrella Mountain Ranch |
Hola @dylantaylor
en su caso, pruebe esta solución alternativa:
1. Recortar columna
2. Reemplace el valor "" a null
3. Rellenar columna
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("HYvLCsJADEV/JWRdBF9fUHTXIm5cDLOIGm2hk5Q0Rfx74+zOPYebEvZrubNhgz0Vxtwk3MZoR/+CvuBszE8t1e/C32hxho6E3lxYvIb9P8T4qPkAF9OZLe6tbmo+RIZKx6DT4sbTRNDpKk6jwJXkMWDOPw==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [#"(blank)" = _t, #"(blank).1" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"(blank)", type text}, {"(blank).1", type text}}),
#"Promoted Headers" = Table.PromoteHeaders(#"Changed Type", [PromoteAllScalars=true]),
#"Changed Type1" = Table.TransformColumnTypes(#"Promoted Headers",{{"Number", Int64.Type}, {"Name", type text}}),
#"Trimmed Text" = Table.TransformColumns(#"Changed Type1",{{"Name", Text.Trim, type text}}),
#"Replaced Value" = Table.ReplaceValue(#"Trimmed Text","",null,Replacer.ReplaceValue,{"Name"}),
#"Filled Down" = Table.FillDown(#"Replaced Value",{"Name"})
in
#"Filled Down"
Hola @dylantaylor ,
Puede usar fill down para ello. Fill down obtiene el último valor non null y se rellena hasta el último valor nulo.... para cada ocurrencia.
Ricardo
Hola @dylantaylor
No estoy seguro, pero puede intentar usar la creación de una columna a partir de ejemplos en el Editor de consultas. Echa un vistazo a esta https://docs.microsoft.com/en-us/power-bi/desktop-add-column-from-example
Si esto le ayudó, por favor marque este post como una solución aceptada y le gusta dar KUDOS .
saludos
Affan Farooqi
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.