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
gtanaka
New Member

Importing PDF with Power Query - values not alocated in correct cells

Hi!
I need help to fix the folloing problem:

Some values when I import PDF are being alocated in the wrong place, grouped in a cell, leaving an empty place where the value should be.

 

gtanaka_0-1688759028482.png

 

1 ACCEPTED SOLUTION
AlienSx
Super User
Super User

Hello, @gtanaka try this

let
    Source = your_table,
    cols = Table.ToColumns(Source),
    first = List.Combine(List.RemoveNulls(List.Transform(cols{0}, (x) => Splitter.SplitTextByDelimiter("#(lf)")(x)))),
    res = Table.FromColumns({first} & List.Skip(cols, 1), Table.ColumnNames(Source))
in
    res

View solution in original post

2 REPLIES 2
AlienSx
Super User
Super User

Hello, @gtanaka try this

let
    Source = your_table,
    cols = Table.ToColumns(Source),
    first = List.Combine(List.RemoveNulls(List.Transform(cols{0}, (x) => Splitter.SplitTextByDelimiter("#(lf)")(x)))),
    res = Table.FromColumns({first} & List.Skip(cols, 1), Table.ColumnNames(Source))
in
    res

thank you!!!

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.