Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi team,
I have loaded the data from MongoDB to powerBI Desktop. In the data loaded, there's a column called '_time' which actually is a timestamp. The values are like this "3/29/2022 2:53:36 PM".
Then I switch to 'Data' tab, and a)changed the data type for '_time' column from 'Date/time' to 'Date'. for example, the value is changed from "3/29/2022 2:53:36 PM" to "3/29/2022". b) changed the Date format to 'm/d/yyyy'
Here is the screenshot before and after changed.
a) before change
b) after change
Actual Chart:
Expected Chart:
Solved! Go to Solution.
@Anonymous , Changing Data type in DAX will not remove timestamp. Do that in power query (That will remove timestamp)
Or create a new column
Date only = datevalue([Datetime])
@Anonymous , Changing Data type in DAX will not remove timestamp. Do that in power query (That will remove timestamp)
Or create a new column
Date only = datevalue([Datetime])
Thanks for the solution
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |