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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Satish_Kumar
Helper V
Helper V

How make nth row as header in Power BI desktop ?

Hi All,

 

 

I need help in a case where i have to make nth row as header.

this want i want to do in power bi desktopthis want i want to do in power bi desktop

Regards,

Satish

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @Satish_Kumar,

Please select the value->click "Format as table"(highlighted in bule line), and give the table a name(please review the highlighted red line in second screenshot).

picture1picture1picture2picture2
Then when you get date from the excel, the table will be listed there, you just select the table and use the first row as Headers. You will get expected result as follows.

3.png4.PNG

Best Regards,
Angelia

View solution in original post

5 REPLIES 5
v-huizhn-msft
Employee
Employee

Hi @Satish_Kumar,

Please select the value->click "Format as table"(highlighted in bule line), and give the table a name(please review the highlighted red line in second screenshot).

picture1picture1picture2picture2
Then when you get date from the excel, the table will be listed there, you just select the table and use the first row as Headers. You will get expected result as follows.

3.png4.PNG

Best Regards,
Angelia

so I need to do that in Excel already, understood.

is there any other way to do it in PBI without deleting the rows above the row that shall be my Headerrow?

 

Not an elegant solution but you can repeat the "Use First Row as Headers" until the desired row is promoted

Multiple Header Promotioins.JPG

Greg_Deckler
Super User
Super User

Typically, you would do a Remove Rows and remove the top rows (4) and then promote your header row.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Excellent solution.

First remove the 1st Row and then Promote the row as headers.

 

Thankyou Greg

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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