on 08-26-2009 8:18 PM
Is there any action block which give me distinct values.
Ex Input
Mat1 20 30 25
Mat1 20 30 25
Mat2 21 34 56
O/P needed:
Mat1 20 30 25
Mat2 21 34 56
Thanks
Hari
Hari ..
Use .. Distinct Value Extractor action block under XML Functions.
Regards,
Ajay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ajay
Correct me if i am wrong.. Distinct value selector I/P and O/P is for one column.. it doesn't work on whole record or row level .
I kind of found the solution :
1. Get distinct values using distinct value selector Action.
2. Filter the main I/P for each disctict value.
3. Build OP XML by taking first of record of filtered OP.
Let me know if you or anybody know the better solution .
Thanks
Hari
Hari,
If the data is from two datasets or documents you can use UNION action block. It gives the distinct values of two datasets. And also you have option of JONER action block which supports up to 4 cloumns.
If data is from single source you have to play around with the avaialble action blocks.
-Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.