Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Is there a way to only get the last datetime per serial in a direct query?
this actually did work on a data set but now I am trying to do it on another larger imported data set and get the below error message
I have used a meassure to get the last date but I am having a hard time figuring out how to target the last date record.
Hi @sbolton1855 ,
Not sure, where do you want to use it? If it is visual, create a measure like:
Measure = IF(MAX('Table'[datetime])=[Last Date],1)
And apply it to the visual filter:
If this doesn't work or I misunderstand your needs, please feel free to let me know. It would be great to have disinfection data and expected output.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 12 | |
| 10 | |
| 7 | |
| 6 |