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

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.

Reply
Yogesh907641T
Frequent Visitor

Dax query to get latestdatetime from date column

Need help

 

I have date column which consist date & time value, this date value has value of data inserted table, data is inserted in table multipale times in a day so i have same date but time is different.

Example :  time & data row inserted count.

8/2/2022 3:31:37 AM +00:0071627
8/2/2022 3:11:46 AM +00:00123

 

I want to write a dax which give me information for respective time. I have connected data through direct query mode.

6 REPLIES 6
tamerj1
Super User
Super User

Hi @Yogesh907641T 

is this a text format? What is the + 00:0071627?

Below is sample of data

customercodecustomernameenvtypedataTimeprem
123ABCqa6/22/2022 14:5316828908.55
123ABCuat6/22/2022 14:53256508373.1
123ABCprod6/22/2022 14:53266719635.1

 

@Yogesh907641T 
Thank you. would you please advise the expected output based on this sample.

we need a filter data based on latest ingestion time. need to show result as below.

 

data is loading multiple time in a day so we have duplicate date & data but time changed everytime so we need data to show only for latest time "prem" & "Countc".

some time "prem" & "countc", remain same for day, it may change any time if transction happens.

 

Time                                                                        prem                         CountC
002 IMT prod 6/22/2022 2:53:29 PM                     266719635.05                 15 

 

 

 

for more details you can call me 9923310100, or email thoratyogesh1@gmail.com

yes this is text format

@Yogesh907641T 
 What is the + 00:0071627?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors