on 03-24-2010 1:21 PM
Hi,
I need to do the map based on the below conditions.
Let us explain with different field names and please provide if you have any udf's based on this below requirement.
Let say 3 fields called : a,b,c
if a = RAM then
b = b/c
here b field is in one segment and a & c fields are in child segment of above segment
Thanks in advance for your help
Regards,
Y. Raj
you dont need an UDF use a standard Boolean function ifWithoutElse, equalsS text funtions and Divide function..
<node a> & <constant 'RAM'> ------->equalsS(text function) --------> ifWithoutElse
<node b> & <node c> ------------> divide --------> then(branch of IF)
~SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yeshwant,
Look at this link
http://4.bp.blogspot.com/_5ov9AjKNCiY/S6oobXPCM5I/AAAAAAAABwM/_h6zfUGDSYI/s1600/Mapping.png
Here Order number is b according to your scenario.
Please also give details about the occurence of all the nodes and elements for getting a more precise answer.
Better yet you could upload you Data type to show the structure.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.