Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: Exclude duplicate records at Calculation View

$
0
0

Rank node is node is not only ordering fields by "Order By" fields , it is also selecting Top /Bottom N number of records.  In your case, it is supposed to show you TOP 1 date .

 

What you might try is...

 

Create a Calculated Column in Projection Node .  Define it as concatenation of Date and QTY .

 

Output should be like ..

02032016100  and 02032016200


Use the calculated column in Order By . 


Note:  You have to make QTY as String/Char before concatenation .  Date format should YYYYMMDD .  This would take Latest Date and highest QTY .

 

 

Let me know if that works for you.

 

Regards

Anindya


Viewing all articles
Browse latest Browse all 3189

Trending Articles