Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Dataset record datastamp

Hi, my dataset has "CREATEDATETIME" column that contain a hierarchy data with  Year,Quarter,Month and Day.   In records you can also see hours, minutes and seconds but i can't use them because i d...
  • v-juanli-msft's avatar
    7 years ago

    Hi Anonymous 

    Besides solution above, you could create calculated columns directly

    year = YEAR([cretaedtime])
    
    month = MONTH([cretaedtime])
    
    day = DAY([cretaedtime])
    
    weeknum = WEEKNUM([cretaedtime],2)
    
    weekday = WEEKDAY([cretaedtime],2)
    
    hour = HOUR([cretaedtime])
    
    minute = MINUTE([cretaedtime])
    
    seconds = SECOND([cretaedtime])

     

    Best Regards
    Maggie

     

    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.