Forum Discussion
anantv
3 years agoNew Member
Copy header column only
Hello, My data table has more than 100 columns. I would like to just copy column headers and paste into excel and verify column names with another table. How do I just copy column headers only? I ...
rubayatyasmin
Community Champion
3 years agoHi, anantv
Assuming you are using Power BI.
1. Just export the table to csv. open the file, the first row should contain column names, just select the first row or the row that contains column names then copy paste it.
or
- Go to Edit Queries > Transform > Structured Column > Expand to New Rows.
- Then, go to Home > Keep Rows > Keep Top Rows > 1.
- Apply & Close
this will only have column names.
- anantv3 years agoNew Member
Hi Rubayatyasmin,
Thank you for the response.
I had been extracting column names as option 1.
I was not able to use the second option (seems very interesting) as Structured column menu grouping is not available in my organization's O365 Power BI.
I appreciate your help. Thanks.