cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oskarcph
Regular Visitor

Set specific column as header

Column_problem.JPG

 

Hi all 🙂 

I have to import data from a daily mail that contains a PDF which is purely configured but can't be changed.. all the prep has been going good untill the last step

 

I need the bagdrop and business etc to be set as header and the data (19 and 19) to be align next to the date. 

 

Anyone have a solution? 

 

best

Oskar

1 ACCEPTED SOLUTION
KT_Bsmart2gethe
Resolver III
Resolver III

Hi,

 

Based on the screenshot and your explaination.

1. replace error for the date column to null,

2. fill down the date,

3. filter no null for either the column 11 and 12.

 

Regards

Kerwin

View solution in original post

2 REPLIES 2
speedramps
Super User
Super User

Hi oskarcph

 

Click here to download a solution. 

 

Please click thumbs up and accept as solution, Thank you ! 

 

In query editor right click on Date column and Fill > Down

Left click in top left grid and Remove top rows = 3

 

Left click in top left grid and Use first row as header

 

Edit Date colmn to  XDate

 

Click on a Index column

 

Add a conditional column called "YDate" with if Index = 0 then "Date" else value of Xdate column

 

Remove Xdate and index column

 

Left click in top left grid and use first row as header

 

 

KT_Bsmart2gethe
Resolver III
Resolver III

Hi,

 

Based on the screenshot and your explaination.

1. replace error for the date column to null,

2. fill down the date,

3. filter no null for either the column 11 and 12.

 

Regards

Kerwin

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors