Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Last Value Monthwise

Hi,

I need last rate of items from its rate field monthly and yearly itemwise.

I have year , Month, Items, Rate,Date fields. So , How can i get itemwise value monthly and yearly.

i tried

firstsortedvalue(Rate,-Date)

But it gave me some worng picture.

Similarly , I tried

Lastvalue(Rate). This also gave me Worng Picture. Anybody Please help.

1 Reply
MK_QSL
MVP
MVP

You can use

firstsortedvalue(DISTINCT Rate,-Date)