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.
@cheriemilk , 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])
@cheriemilk , 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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
197 | |
68 | |
65 | |
57 | |
56 |
User | Count |
---|---|
251 | |
232 | |
106 | |
82 | |
72 |