Skip to main content TDX, the developer conference for the AI agent era is happening now. Watch live on Salesforce+ for exclusive digital content, a revolutionary keynote, and more.

hi all, 

I have the date field, but CRMA provides the format I need to change  

YYYY-mm-DD -> mm-DD-YYYY 

I tried to change it via formula field in advanced editor: 

 "formula": "toDate(Booked_Date__c, \"mm/dd/yyyy\")" 

but as a result an error: 

Field must be in group by or aggregate function:  

 

can somebody suggest something maybe, please? 

 

3 answers
  1. Mar 4, 5:05 PM

    If you want to change the date format wherever you're using the field, you can change the format in the fields panel. To get there, open the dataset in a lens and find the small arrow right next to the dataset name.

    If you're creating the dataset with a recipe, you can use the "edit attributes" transformation to change the date format.

0/9000