Hi Gurus,
I have a requirement to calculate "Result" column as below: Here, we are multiplying by taking the Item# by an integer. lets take ex: for (1,1.1,1.2) the qty is 5 for Item# 1. So, for each qty in like 1.1,1.2 we multiply by 5 so we get 10,5 resp. in the result column. How can I do this in SSIS . Please help me with this.
Item# qty Result
1 5 5
1.1 2 (2*5)=10
1.2 1 (1*5)=5
1.2.1 2 (2*1*5) =10
1.2.2 3 (3*2*1*5)=30
2 3 3
2.1 1 (1*3)=3
2.2 2 (2*3)=6
2.3 2 (2*3)=6
2.3.1 1 (1*2*3)=6
2.3.1.1 2 (2*1*2*3)=12
It's been answered by SSISJoost here before but now I got a requirement with the extra dots like upto 7 dots. (such that I cannot convert to int. like in this post)
Please help me with this.