Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nick310
New Member

How to separate time from the date column in a live connection

Hello Everyone,

 

I am finding it difficult to separate the time/hours from the date column as shown in the attached image. I just want to see the date only. I don't have access to the data sets, it's a live connection.

 

Is there anyway I can use Dax to do this? I will be happy to read your solutions. Thanks in advance.

 

37192CDB-1912-4490-9E9A-D2061844389E.jpeg

3 REPLIES 3
ValtteriN
Super User
Super User

Hi,

The most straightforward measure would be something like this:

MAX(Table[Date]) 

ValtteriN_0-1660990488181.png

Note the format here ^^


End result:


ValtteriN_1-1660990514936.png

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hello ValtteriN,


Thank you very much for your kind suggestion!


I just followed your procedure, but I didn't get the expected results. Please check attached images for more information. Is there any other thing I am not doing correctly?

 

Regards

 

A1AE8EA6-A7C2-456F-9810-52C15FB5728F.jpeg

5F98F58D-EEE9-49A0-8698-D8A9EE31A8D2.jpeg

 

 

Interesting behaviour,

Try this:

ValtteriN_1-1661500887041.png

Measure 21 =
var _cdate = MAX('Calendar example'[Date])
var _date = DATE(YEAR(_cdate),MONTH(_cdate),DAY(_cdate)) return

_date








Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.