Transformations: Allow negatives in limit (#94746)

* Allow negatives in limit

* Add test
This commit is contained in:
Kristina
2024-10-17 13:13:00 -05:00
committed by GitHub
parent 0ff7783745
commit c12a662f9f
4 changed files with 66 additions and 7 deletions

View File

@ -1069,6 +1069,14 @@ Here is the result after adding a Limit transformation with a value of '3':
| 2020-07-07 11:34:20 | Humidity | 22 |
| 2020-07-07 10:32:20 | Humidity | 29 |
Using a negative number, you can keep values from the end of the set. Here is the result after adding a Limit transformation with a value of '-3':
| Time | Metric | Value |
| ------------------- | ----------- | ----- |
| 2020-07-07 10:31:22 | Temperature | 22 |
| 2020-07-07 09:30:57 | Humidity | 33 |
| 2020-07-07 09:30:05 | Temperature | 19 |
This transformation helps you tailor the visual presentation of your data to focus on the most relevant information.
### Merge series/tables