Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
atisenbe
Regular Visitor

Double column headings

I am wondering if its possible to use a spreadsheet from excel with two column headings formatted like the example below in Power BI

 

                                                     Procedure 1                                 Procedure 2                                  

Batch ID, Date, Batch Volume    # of operators, time, man hours     # of operators, time, man hours

 

Where Batch ID is cell A2, Date is cell B2, batch volume is cell C2, # if operators is D2, time is E2, man hours is F2, and procedure 1 is merged to fit to the cells below it D2,E2, and F2.

Procedure 1 and two are in row 1, where as the rest of the headings are in row 2. 

 

I am trying to track man hours per batch using the following template, where as a new batch will be entered into a new row. I would like to be able to integrate this excel spread sheet into power bi and track the time it takes for each procedure in each batch. Is there a way this will work with power bi? Or do I need to set up my table differently in order to incorporate it into power bi? If so, any ideas?

 

 

1 REPLY 1
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@atisenbe,

Power BI can’t directly recognize the double column headings when you import the Excel file with above format into it.

You can set up your table as follows, then import it into Power BI and create a Matrix visual( shown in second screenshot) which is suitable for you to track man hours per batch.

1.PNG2.PNG


Another option is to unpivot your nested headings using PowerQuery: https://wessexbi.wordpress.com/2014/02/27/unpivot-nested-headings-with-power-query/.

Regards,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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

Top Solution Authors