hello guys
I want to extract the “Actual Balance Amount” under same “Ban” using the “Max bill Month” value.
i have already saved the Max “Bill Month” as String “LastMonth”.
only one value needed to be extracted.
Please check the image provided. will get better understanding.
Thanking you all in advance.
HareeshMR
(Hareesh Madasi)
July 2, 2019, 7:05am
2
@AryanSingh ,
You are storing all that data into a data table i guess,
Then you can do using for each row…
Use for each row activity and loop through all the rows.
Inside that, use if condition as row(“Bill Month”).tostring = “LastMonth” (LastMonth is your variable)
Then, you can get the value using row(“Actual Balance Amt”).
samir
(Samir Mohite)
July 2, 2019, 7:29am
4
Hi @AryanSingh
You can use Lookup DataTable activity here,
you have max bill month stored in “LastMonth” variable.
So parameters of lookup datatable should be,
Input :-
Datatable —> datatable variable
Lookup Value —> LastMonth variable
Lookup Column :-
ColumnName —> “Bill Month”
Output :-
CellValue —> create system.double variable here(to store Actual balance amt )
Target Column :-
ColumnName —> “Actual Balance Amt”
So that’s how you’ll get actual balance amt value in cellValue (parameter) variable by using Lookup DataTable activity.
ok. here are the excel and xaml file if want to check the details.
Main(Autosaved).xaml (31.8 KB) project.json (694 Bytes)
Consolidated_Finance_Report_Example.xlsx (78.8 KB)
@HareeshMR
@samir
@samir
Facing this issue after using lookup table activity
samir
(Samir Mohite)
July 2, 2019, 7:52am
7
change that cellValue variable type into system.double and try. @AryanSingh
2 Likes
@samir
@HareeshMR
Solved.
Thanks
system
(system)
Closed
July 5, 2019, 7:53am
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.