Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |