Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago

How To Have Custom Formatted Date with Date Data Type

When I create a calculated column as:

 

Month Abbreviation Day = Format('Date'[Calendar Date],"MMM dd")  it has a data type of Text.   If I change the data type to Date then I lose the formatting.

 

How can I make a true date column with the "MMM dd" format?

 

Thanks.

4 Replies

  • Sean's avatar
    Sean
    Community Champion

    Yes FORMAT converts value into text

     

    I didn't see your requested MMM DD Format in the Modeling tab - the closest one I saw was MMMM D

    but I suspect you don't want the whole month name.

     

     

    EDIT: What problem do you encounter when the values are converted into text?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Sean, 

       

      Thanks for the response.

       

      I need the labels to be as small as possible since I am trying to display a rolling 30-day X-Axis.   If I make them text, then the Continuous X-Axis doesn't work and the users want that since that is what they had it Excel.   Always an adventure trying go provide the same functionality.   It would be really nice if a custom format could be used instead of just the ones in the drop down.

      • Sean's avatar
        Sean
        Community Champion

        Anonymous

        Have you tried selecting the Show Items with no data - when placing the Formatted as text column in the Axis