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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am trying to create a report where I need to fetch the latest status from tracking table. I am trying to achieve something in the lines of
Select * from Table1
where trackdatetime in (select max(trackdatetime) from Table1 group by TrackID)
or
Select * from Table1 t1 inner join Table1 maxDate
Solved! Go to Solution.
Please see if this articles explains what you are trying to do.
Return Row Based on Max Value From One Column when Grouping — ehansalytics
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please see if this articles explains what you are trying to do.
Return Row Based on Max Value From One Column when Grouping — ehansalytics
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 7 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 14 | |
| 12 | |
| 9 |