cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
atisenbe Frequent Visitor
Frequent 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
Moderator v-yuezhe-msft
Moderator

Re: Double column headings

@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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors