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
rmcgrath
Advocate II
Advocate II

Data cleaning help

I am connecting to a folder of utility invoices (PDFs).  The first table is how everything is pulled in to Power BI.  The second is what I would like to get to after cleaning/scrubbing.  Can you give me a good way to accomplish the 2nd table?

 

Source.Name

Column1Column2Column3Column4Column5Column6Column7Column8Column9Column10
April 2024 Services.pdfnullDatesnullReadsnullnullnullnullnullnull
April 2024 Services.pdfMeter#FromToFromToUsageMultiplierUsedUnitsEstimate
April 2024 Services.pdfKZD8661491704/02/2405/02/241,780.5621,851.64471.0812,100.00149,270.940KVRNo
April 2024 Services.pdfKZD8661491704/02/2405/02/244,248.9414,527.792278.8502,100.00585,586.680KWHNo
April 2024 Services.pdfKZD8661491704/02/2404/02/24 1396.920 1.001396.920KWNo
Aug services2024.pdfnullDatesnullReadsnullnullnullnullnullnull
Aug services2024.pdfMeter#FromToFromToUsageMultiplierUsedUnitsEstimate
Aug services2024.pdfKZD8661491708/02/2409/03/242,176.5002,296.221119.7202,100.00251,413.890KVRNo
Aug services2024.pdfKZD8661491708/02/2409/03/245,523.3435,890.051366.7072,100.00770,086.590KWHNo
Aug services2024.pdfKZD8661491708/06/2408/06/24 1656.480 1.001656.480KWNo
DEC2023 SERVICES.pdfnullDatesnullReadsnullnullnullnullnullnull
DEC2023 SERVICES.pdfMeter#FromToFromToUsageMultiplierUsedUnitsEstimate
DEC2023 SERVICES.pdfKZD8661491712/04/2301/02/241,511.9901,574.03162.0402,100.00130,284.630KVRNo
DEC2023 SERVICES.pdfKZD8661491712/04/2301/02/243,099.5153,351.353251.8382,100.00528,859.800KWHNo
DEC2023 SERVICES.pdfKZD8661491712/20/2312/20/23 1229.760 1.001229.760KWNo

 

Source.NameMeter#From (Dates)ToFrom (Reads)ToUsageMultiplierUsedUnitsEstimate
April 2024 Services.pdfKZD8661491704/02/2405/02/241,780.5621,851.64471.0812,100.00149,270.940KVRNo
April 2024 Services.pdfKZD8661491704/02/2405/02/244,248.9414,527.792278.8502,100.00585,586.680KWHNo
April 2024 Services.pdfKZD8661491704/02/2404/02/24 1396.920 1.001396.920KWNo
Aug services2024.pdfKZD8661491708/02/2409/03/242,176.5002,296.221119.7202,100.00251,413.890KVRNo
Aug services2024.pdfKZD8661491708/02/2409/03/245,523.3435,890.051366.7072,100.00770,086.590KWHNo
Aug services2024.pdfKZD8661491708/06/2408/06/24 1656.480 1.001656.480KWNo
DEC2023 SERVICES.pdfKZD8661491712/04/2301/02/241,511.9901,574.03162.0402,100.00130,284.630KVRNo
DEC2023 SERVICES.pdfKZD8661491712/04/2301/02/243,099.5153,351.353251.8382,100.00528,859.800KWHNo
DEC2023 SERVICES.pdfKZD8661491712/20/2312/20/23 1229.760 1.001229.760KWNo
1 ACCEPTED SOLUTION
speedramps
Super User
Super User

In Power Query

 

Remove top 8 rows (adjust the number of rows depeding on your table)

Promote top row to header

Remove rows with date = null or To

 

speedramps_0-1750184710231.png

 

Please click thumbs up because I have tried to help.

Then click accept solution if it works

View solution in original post

1 REPLY 1
speedramps
Super User
Super User

In Power Query

 

Remove top 8 rows (adjust the number of rows depeding on your table)

Promote top row to header

Remove rows with date = null or To

 

speedramps_0-1750184710231.png

 

Please click thumbs up because I have tried to help.

Then click accept solution if it works

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.