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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors