Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Row as header for different columns and different rows

Hello Experts,


For the below i want to make, for column 31 header should be 1st row and the remaining column header should be 2row how can i do it, If all are in same row i can use "use fitst row as header" but they are in different rows. Please help me experts.




Frequent Visitor
Frequent Visitor

Super User
Super User



You can do this in power query:


  1. Promote the headers for the first row
  2. Add an Index column
  3. Duplicate the table
  4. Remove all columns except the Domain and Index in the first table
  5. In the duplicated table - Promote headers twice then add an Index column and remove the domain column
  6. Back in the first table - merge queries and select the column index to join on
  7. expand the rows and bring through the fields needed

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Resolver III
Resolver III

 Dear @Universe24  please refer to the attached pbi and see how it's solved in M language.


let me know if you need any additional support.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors