Hi @KirubaS2: Please check the below similar post.
You could use declare expressions to calculate the values automatically.
If you need to do the task procedurally, you can achieve it using data transforms / functions.
Thanks.
@ArulDevan Thank you sir.
