Ad Widget

Collapse

Unable to retreive Nth value of item in Map label

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iamnotarobot
    Junior Member
    • May 2019
    • 1

    #1

    Unable to retreive Nth value of item in Map label

    I have a map label in which I'm trying to display the last five values of an item. I've checked the item history and there is plenty of history for the item, but *.last(#n) function doesn't seem to work. I can display *.last(), that works fine, but if I try to display, say, *.last(#3), I just see the macro as literal text in the field, rather than the value I was trying to retrieve.

    {myhost.myitem.last()} works just fine
    {myhost.myitem.last(#3)} does not work

    Anyone run across this and know a solution?
Working...