Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ajaysingh29
Contributor III
Contributor III

Displaying last records value in pivot

Hi All,

I would like to show item desc wise last unit cost in the Piovt table.

unithelp.PNGI have attached test QVW file, requesting your  suggestions to achieve this.

Many Thanks!

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try this:

FirstSortedValue(DISTINCT UnitCost, -SubField([PO Number],'-',-1))

Capture.JPG

View solution in original post

4 Replies
prma7799
Master III
Master III

ajaysingh29
Contributor III
Contributor III
Author

Thanks for your reply.

Tried below, but not showing proper result. Could you help plz help me out with this.

unithelp11.PNG

Based on the data which is shared in qvw result should show :

         Gpc = 240

         GCC=230

         INCC=15500

         UPS=660

Thanks!

tresesco
MVP
MVP

Try this:

FirstSortedValue(DISTINCT UnitCost, -SubField([PO Number],'-',-1))

Capture.JPG

ajaysingh29
Contributor III
Contributor III
Author

Thank You!!