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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

how to make 2 rows as Headers in Power BI

Hello All, 

 

I have to create few visualizations where I have to use two of the rows as headers.  I can't find a solution to treat 2 rows as Headers together. My data source is an excel sheet. I am uploading the sample data source to have a look. 

hinaghous_0-1622011222062.png

I have to create a bar chart for Actual and target for every department. like in 1st header for lean 2 bars for actual and target like this. 

 

Thanks 

@MFelix 

 

 

1 ACCEPTED SOLUTION

If this is going to be a data source you use regularly it could be easiest to simply concatinate the two headers together. So you will have them in 1 row. Alternatively, some articles which might help dealing with 2 rows as headers: link1 and link2

 

Hope this helps.

View solution in original post

3 REPLIES 3
partymia
Frequent Visitor

When you go to Transform data, there is a button that you can click and select use first rows as headers:

Capture.PNG

And i beleive once you select it, you can specify if a column is not needed. Alternatively if you already remove all the once you dont need in excel and simply connect the file with the top row that you need should solve your issue.

Anonymous
Not applicable

@partymia I need 2 rows at a time as headers 

If this is going to be a data source you use regularly it could be easiest to simply concatinate the two headers together. So you will have them in 1 row. Alternatively, some articles which might help dealing with 2 rows as headers: link1 and link2

 

Hope this helps.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.