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
oskarcph
Frequent 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
Impactful Individual
Impactful Individual

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

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

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