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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Super User
Super User

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
Super User
Super User

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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