Forum Discussion
Dax function or formula to separate the timestamp from date
Hi All,
i have a table in powerpivot and in there i have a column (say column name mydate) which has dates in it (in date and time format), now i have added another column (say column name newdate)to the table and trying to bring the date which is the column A to column B, but i want to get rid of the timestamp from the date when it get copy to the column B, i have tried foramt(mydate,"MM/DD/YYYY"), but this is returning the date and time format but i want the it in short date format (without timestamp), please let me know if there any DAX function or formula which can help to separet the timestamp from the date ?
Regards,
Aryan
1 Reply
- TrebligCNew Member
In your PowerBI Get Data query, you should be able to either just duplicate your DateTime column, or create a custom column that uses the formula =[YourDateTimeColumn], then simply change the Type of that new column from DateTime to Date.