Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Return Last Item from a Table

I have a table with a set of numbers and dates. I'm only interested in the last number / date item in the results returned by a query. Any idea how I can get that single value out of the table and into a report through Report Studio? For example there is a list of numbers starting at 0 ending at 99. I only want to display the number 99 on a graph.
Thanks in advance.
Derry

0 votes



3 answers

Permanent link
Hey Derry,
You can try the "maximum" function in the report studio to create a measured data item and plot that on the graph.

0 votes


Permanent link
Hey Derry,
You can try the "maximum" function in the report studio to create a measured data item and plot that on the graph.


Thanks Hardik. That works but it has to be on a filter. And you set the value to 1.

0 votes


Permanent link
What we did to get a single value from a list was to set a filter on one of the incoming data items. It was a date type so we filter on the 'maximum' date value which gives the latest date. YMMV on other data types. Does any know if there is a function to retrieve an item based on index or some other attribute?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 04 '10, 2:32 p.m.

Question was seen: 5,884 times

Last updated: Aug 04 '10, 2:32 p.m.

Confirmation Cancel Confirm