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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors