Forum Discussion

ConnieMaldonado's avatar
ConnieMaldonado
Responsive Resident
6 years ago
Solved

Remove Time Stamp from Date

I have a "Start Time" field which has a standard date with a time stamp - hours, minutes seconds.  When I create a date slicer, all the various time stamps show up in the list (see image).  What I want is just MM/DD/YY to show up in the list.  How do I trim the time stamp from the date.  I've tried creating a column to pull MM/DD/YY but couldn't get it to work.  I think we could have an entire forum just on working with dates. 🙂

 

 

 

5 Replies

  • ConnieMaldonado change the data type to date, you can do it two ways, go to query editor and change type by clicking the icon on the column header (prefered way) or changing data type column tool tab by selecting the date column

     

  • Vvelarde's avatar
    Vvelarde
    Community Champion

    ConnieMaldonado 

     

    In the column that you desire to trim to only dates change in Modeling -  Date Type -- Date

     

    Regards

     

    Victor

  • az38's avatar
    az38
    Community Champion

    Hi ConnieMaldonado 

    you can create a column like

    Column = FORMAT([Datetime];"DD.MM.YYYY")

    and use it as slicer

  • markazali's avatar
    markazali
    Frequent Visitor

    Is it possible to format the date without time if I'm using a live semantic model where "new column" is not an option?