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

Join 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.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.