Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
FBerdial
Frequent Visitor

Expand excel column

Hi, 

I´m new in power Bi and need help.

I have an excel colGenerated table.pngumn tabulated as shown in color column.

How can transform it in one or three colums as shown?. I have to iterate de table but i don´t now how to recover values from previous files or store values in parameter who can change.

Please help!

2 REPLIES 2
dufoq3
Super User
Super User

Hi @FBerdial, I can try but could you provide sample data? I don't know how to simulate your [Sección] column


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Hi dufoq3,

 

I'do with this sentences 

#"Columna condicional agregada" = Table.AddColumn(#"Filas filtradas", "Seccion", each if [Longitud] = 2 then [Sección] else null),
Relleno = Table.FillDown(#"Columna condicional agregada", {"Seccion"}),
#"Columna condicional agregada1" = Table.AddColumn(Relleno, "Programa", each if [Longitud] = 4 then [Sección] else null),
Relleno1 = Table.FillDown(#"Columna condicional agregada1",{"Programa"}),
#"Columna condicional agregada2" = Table.AddColumn(Relleno1, "Subconcepto", each if [Longitud] = 6 then [Sección] else "000000"),
#"Personalizada agregada" = Table.AddColumn(#"Columna condicional agregada2", "Indice", each [Seccion]&[Programa]&[Subconcepto])

 

Thanks for your help

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.