# Last() returns first point instead of last

**URL:** https://community.influxdata.com/t/last-returns-first-point-instead-of-last/18897
**Category:** Fluxlang
**Created:** [March 15, 2021, 8:46pm UTC](https://community.influxdata.com/t/last-returns-first-point-instead-of-last/18897 "2021-03-15T20:46:50Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![pohl6532](https://avatars.discourse-cdn.com/v4/letter/p/ea5d25/32.png) [@pohl6532](https://community.influxdata.com/u/pohl6532)
#### Post date: [March 18, 2021, 8:49pm UTC](https://community.influxdata.com/t/last-returns-first-point-instead-of-last/18897/3 "2021-03-18T20:49:15Z")

</div>

Issue has been discussed here: [https://community.influxdata.com/t/recent-edition-of-influxdb-2-0-2-last-function-not-work-as-expected/16942/5?u=pohl6532](https://community.influxdata.com/t/recent-edition-of-influxdb-2-0-2-last-function-not-work-as-expected/16942/5).

Seems last() function is broken since V2.0.2

---

_[View the full topic](https://community.influxdata.com/t/last-returns-first-point-instead-of-last/18897)._
