Forum Discussion

AmberGardner's avatar
AmberGardner
Frequent Visitor
2 years ago
Solved

Date format in Concatenatex Measure

I am currently using a quick measure and it has pulled through the data i need but it has changed the format of the date to MM/DD/YYYY whereas i need it to be DD/MM/YYYY. Can anyone help?

I have searched through the possible solutions and i cant seem to get anything to work. I have also looked in these forums and any codes provided so far have caused the measure to break. 

 

  • Try wrapping 'Actions'[StartDate] in lines 15 and 24 with FORMAT using the appropriate format string:

    FORMAT ( 'Actions'[StartDate], "dd/mm/yyyy" )

6 Replies

  • Try wrapping 'Actions'[StartDate] in lines 15 and 24 with FORMAT using the appropriate format string:

    FORMAT ( 'Actions'[StartDate], "dd/mm/yyyy" )
    • AmberGardner's avatar
      AmberGardner
      Frequent Visitor

      This appears to have broken the measure and isnt accepting the dd/mm/yyyy on there

      Thank you for your help though!

       

      • AlexisOlson's avatar
        AlexisOlson
        Icon for Super User rankSuper User

        You're missing a comma at the end of that line. You've also changed line 27. I don't recommend formatting the sorting arguments in lines 17 and 27, just lines 15 and 24.

  • pls try
    new measure = FORMAT([List of StartDate values], "dd/MM/YYYY")

    • AmberGardner's avatar
      AmberGardner
      Frequent Visitor

      Unfortunately this appears to have kept the date the same, thank you for your support though

  • AmberGardner's avatar
    AmberGardner
    Frequent Visitor

    Apologies i think i was flustered and misread your first answer, this has worked now! Thank you 🙂