I want to multiply a column with current month number
This is my dummy input
How do i multiply all the values of 2nd column with current month number and save it in 3rd column
I want to multiply a column with current month number
This is my dummy input
How do i multiply all the values of 2nd column with current month number and save it in 3rd column
You can use expressions
Dt.Columns("Total").Expression = "[Amount] * " + Now.Month.ToString
Cheers
Hey @Kira ,
You can use for each row in datatable
Assign currentrow(“Total”) = Currentrow(“Amount”)*monthVar
Hope it helps you out
@Vikas_M ,
I dont want to use loops cause it makes my process slow, its a huge data
@Anil_G ,assign In a loop?
No a single assign will multiply full column …using expression
Expression says multiply Amount column with current month and save in totals
Cheers
@Kira , if so then
use an assign activity to assign the month
Use an another assign activity
Left side of assign would be
right side would be
Hope this helps you out!
Thank you @Vikas_M , your method worked and thanks for the xaml
Also thank you for @Anil_G for helping me
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.