The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
The data that I am using is importing as the following form "MM:DD:YYYY 00:00:00 __". (For example, "10/1/2015 12:00:00 AM".) I am not sure why it is doing this because the source of the data is simply in MM:DD:YYYY format. (I am importing this data from a SharePoint site, FYI.) How do I separate the date (MM:DD:YYYY) from the timestamp on the right side (00:00:00 __)? In the end, I am trying to zero in on the year, month, and quarter using a fiscal calendar but am unable to create the relationship between that calendar and the dates because of the timestamp attached. Suggestions?
Solved! Go to Solution.
Edit your query, select your column, go to the Transform tab and change the "Data Type" to Date instead of Date/Time.
Column = Table[date].[Date]
Or you can use Format() function to remove the timestamp part.
Column = FORMAT(Table[date],"MM-DD-YYYY")
Regards,
Thank you! This is exactly what I was looking for and is simple.
Edit your query, select your column, go to the Transform tab and change the "Data Type" to Date instead of Date/Time.
User | Count |
---|---|
80 | |
74 | |
41 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
53 | |
47 | |
47 |