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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Doing a filter in query editor on date for "Is Latest" returning empty.

I am bringing in a dataset, and in the query editor on ther data set I want the datetime field to be set to "Is Latest"  I'm assuming that means only the rows with the latest datetime will be there.   So in this case 8/17 11:32:53 would be the latest.  When I choose "Is Lastest" from the filter arrow,  it comes back blank.  I'm not sure why because there is clearly data there.  

Orgel_0-1692290515245.png

Orgel_1-1692290702694.png

 

 

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous ,

try converting the column to date only instead of date time, i tried it and it filtered.

 

Idrissshatila_0-1692298263993.png

 

Idrissshatila_1-1692298275207.png

 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea 💡



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Idrissshatila
Super User
Super User

Hello @Anonymous ,

try converting the column to date only instead of date time, i tried it and it filtered.

 

Idrissshatila_0-1692298263993.png

 

Idrissshatila_1-1692298275207.png

 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea 💡



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Anonymous
Not applicable

I'm not really looking to get anything based on id.  I just want the most current lines based on the datetime.  So in the above screenshot, the lines that say 8/17/2023 11:32:53am is would I want to keep.  In the filter drop down arrow, there is a selection for "Is Latest" date time filter, which I would think would keep the three latest lines.  But when I select it, the table comes back empty.

AbhinavJoshi
Responsive Resident
Responsive Resident

Hello @Anonymous, if you are looking to get the latest date based on an ID, I'd advise to use a group by. In Power Query Editior, click on Group By your ID, once in the group by wizard, click on Advanced. In the aggregation part, add DateTime in the New column name, Max as the operation, and DateTime in the Column. Then click on Add aggregation and in the Operation, select all rows. I hope it works for you.

 

Thanks,

Abhinav

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.