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