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
Baskar
Resident Rockstar
Resident Rockstar

Issue in Use first row as header

Hi Guys,

 

am facing prob on while use my first row as header,

My first row is date, pls see the attachment snap

1.PNG

2. After use first row as header 

 

2.PNG

 

 

i want to know where is my first row date ? where it is gone ?

 

@ankitpatira @Greg_Deckler @Seth_C_Bauer

1 ACCEPTED SOLUTION
ImkeF
Community Champion
Community Champion

This row has gone forever, because PBI doesn't accept date as a column header.

Instead format your columns as text, promote header and then format back to decimals.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Table.PromoteHeaders(#"Previous Step",[PromoteAllScalars=true])

ImkeF
Community Champion
Community Champion

This row has gone forever, because PBI doesn't accept date as a column header.

Instead format your columns as text, promote header and then format back to decimals.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.