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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Novice_PBI
Frequent Visitor

Date format column with in some cases "#" values

I have a table with field dates, but in some cases the field has "#" values, so when I try to format the field as a date I got an error message because some "#" values, I can't modify the # Values because in cases the # values means the date is not defined yet. How can I format the column as a date?

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Novice_PBI ,

 

Character "#" is the character escape, you can take a look at following blog to know more about this.

Character Escape Sequences In M

 

You can replace these "#" value as null or other specified date to prevent format issues.

 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

HI @Novice_PBI ,

 

I'm not so recommend you to use specific character as fields name, it will faced some issue when power query function processing these fields.

 

In my opinion, I'd like to suggest rename these fields who has specific character before use them in query functions and restore these fields after finish the operations.

 

Regards,

Xiaoxin Sheng

Hi @Anonymous, when I mention '#' values I mean some cells with '#' values, not the name of the field, in that cases

 

Do you recommend to changes the cells for a date to format the column as a date?

 

 

 

Anonymous
Not applicable

Hi @Novice_PBI ,

 

Character "#" is the character escape, you can take a look at following blog to know more about this.

Character Escape Sequences In M

 

You can replace these "#" value as null or other specified date to prevent format issues.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors