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
Anonymous
Not applicable

Custom Column date formula

Hi All,

 

I am trying to create a custom formula to with a 3 digit month.

 

I am using the forumla = FORMAT([Payment Date],"mmm")

 

I am getting the following message "Expression Error : The name 'FORMAT' not recognised.

 

 

 
New to DAX, can someone help.
 
Many thanks
 
Herbz
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Ok, solved the solution is 

 

Date.ToText([#"Payment Date"],"MMM")

View solution in original post

9 REPLIES 9
pxg08680
Resolver III
Resolver III

@Anonymous

a1.PNG

It's working fine for me. Make it as new column.

Anonymous
Not applicable

Whats "DATEDATA"?

@Anonymous

That's a sample table name. Sorry for confusing.

Anonymous
Not applicable

Sorry, still not working.

 

Is there anything I need to install first before I can use these formulas?

 

Thanks

@Anonymous

Close your Power Bi (if desktop version). Re-open and try doing the same.

Create a new COLUMN 

Anonymous
Not applicable

Ok, getting warmer (new at this).

 

What seems to work is this expression.....Number.ToText(Date.Month([#"Payment Date"])), but this gives me a month number. How do I translate this into 3 digit month name?

Anonymous
Not applicable

Ok, solved the solution is 

 

Date.ToText([#"Payment Date"],"MMM")

Hi @Anonymous,

Please mark your solution as answer, so more people wull benefit from here.

Thanks,
Angelia

@Anonymous

Can you mark your post as Solved so that some one can use it later.

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.