This project is my solution in VB to the Calculating Percentages Of Expenses practice found in section 04 practice 03 of the UiPath - RPA Developer Foundation course.
After making a pull request or downloading the project, open the Main.xaml in UiPath Studio. The robot can be run with the play button in the ribbon and the result can be seen in output panel.
We have a list of expenses (rent, food, utilities, leisure, savings) for which card payments were made. We have discovered that some transactions are missing, as they were done in cash. Prepare a workflow to bring all the expenses in a single file and calculate the percentages for each expense made.
Input files:
- CardPayments (.xlsx)
- CashPayments (.xlsx)
Course: UiPath - RPA Developer Foundation
Section: 04 Excel And Data Tables
Practice: 03 Calculating Percentages Of Expenses
Project Format: Windows, VB
GitHub: https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-VB
04/29/2024 21:56:07 => [Debug] Debug started for file: Main
04/29/2024 21:56:07 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB execution started
04/29/2024 21:56:07 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB.Main.Begin;
04/29/2024 21:56:08 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB.Date_DD_MM_YYYYToISO.Begin;
04/29/2024 21:56:08 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB.Date_DD_MM_YYYYToISO.Print; Input Date: 01.01.2019, ISO Date: 2019-01-01
[Truncated ISO Print Statements]
04/29/2024 21:56:08 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB.Main.Print;
Expense,Date,Value,Transaction Type,Percent
Food,2019-01-01,863,CARD,4.1616
Vacation,2019-01-07,2000,CARD,9.6446
Savings,2019-01-01,500,CARD,2.4111
Rent,2019-01-01,1500,CARD,7.2334
Electricity,2019-01-01,121,CARD,0.5835
Plumbing,2019-01-01,86,CARD,0.4147
Phone,2019-01-01,20,CARD,0.0964
Food,2019-02-01,1243,CARD,5.9941
Savings,2019-02-01,500,CARD,2.4111
Rent,2019-02-01,1500,CARD,7.2334
Electricity,2019-02-01,142,CARD,0.6848
Plumbing,2019-02-01,68,CARD,0.3279
Phone,2019-02-01,20,CARD,0.0964
Food,2019-03-01,975,CARD,4.7017
Savings,2019-03-01,500,CARD,2.4111
Rent,2019-03-01,1500,CARD,7.2334
Electricity,2019-03-01,94,CARD,0.4533
Plumbing,2019-03-01,92,CARD,0.4437
Phone,2019-03-01,20,CARD,0.0964
Food,2019-04-01,1234,CARD,5.9507
Savings,2019-04-01,500,CARD,2.4111
Rent,2019-04-01,1500,CARD,7.2334
Electricity,2019-04-01,73,CARD,0.352
Plumbing,2019-04-01,62,CARD,0.299
Phone,2019-04-01,20,CARD,0.0964
Food,2019-05-01,863,CARD,4.1616
Savings,2019-05-01,500,CARD,2.4111
Rent,2019-05-01,1500,CARD,7.2334
Electricity,2019-05-01,121,CARD,0.5835
Plumbing,2019-05-01,86,CARD,0.4147
Phone,2019-05-01,20,CARD,0.0964
Gym membership,2019-01-06,452,CASH,2.1797
Board Games,2019-06-23,354,CASH,1.7071
Computer Games,2019-03-21,1283,CASH,6.187
Party,2019-05-18,425,CASH,2.0495
04/29/2024 21:56:08 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB.Main.End;
04/29/2024 21:56:08 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-VB execution ended in: 00:00:01
The ForEach loop TypeArgument must be set to the System.Collections.Generic.KeyValuePair.
A standard UiPath, Studio to Orchestrator cloud setup is the base of operation. It is easy to setup and free.
- An Orchestrator connection - Visit https://cloud.uipath.com/ and authenticate or sign up.
- UiPath Studio is used to run the robot. Note that Studio Web can be used directly in Orchestrator but I recommend installing the Studio IDE application.
Clone the project to develop or change it.
git clone https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-VB
- UiPath Automation Platform
- UiPath Studio
- Pulsar (Atom Successor) - Used for all my README.md files
- Shon Harsh Website 127.0.0.1
- This.GitHub
-
Get Started With RPA Development
-
Variables, Data Types And Control Flow In Studio
P01 RPADev-S02P01-ForEachIfStatement [C#] [VB] [Windows Legacy]
P02 RPADev-S02P02-GenericValue [C#] [VB] [Windows Legacy]
P03 RPADev-S02P03-Switch [C#] [VB] [Windows Legacy]
-
Data Manipulation In Studio
P01 RPADev-S03P01-Lists [C#] [VB] [Windows Legacy]
P02 RPADev-S03P03-Dictionaries-Integers [C#] [VB] [Windows Legacy]
P03 RPADev-S03P04-Dictionaries-Doubles [C#] [VB] [Windows Legacy]
P04 RPADev-S03P05-InputValidation [C#] [VB] [Windows Legacy]
P05 RPADev-S03P06-ReplacingPlaceholders [C#] [VB] [Windows Legacy]
P06 RPADev-S03P07-ExtractEmailAddress [C#] [VB] [Windows Legacy]
P07 RPADev-S03P08-ExtractEmailAddressRegEx [C#] [VB] [Windows Legacy]
-
Excel And Data Tables With Studio
P01 RPADev-S04P01-CalculatingSums [C#] [VB] [Windows Legacy]
P02 RPADev-S04P02-CalculatingLossInvoices [C#] [VB] [Windows Legacy]
P03 RPADev-S04P03-CalculatingPercentagesOfExpenses [C#] [VB] [Windows Legacy]
-
UI Automation With Studio
P01 RPADev-S05P01-PasswordGenerator [C#] [VB] [Windows Legacy]
P02 RPADev-S05P02-TheRPAChallenge [C#] [VB] [Windows Legacy]
P03 RPADev-S05P03-InputActions [C#] [VB] [Windows Legacy]
P04 RPADev-S05P04-OutputActions [C#] [VB] [Windows Legacy]
P05 RPADev-S05P05-DataScraping [C#] [VB] [Windows Legacy]
-
Selectors In Studio
P01 RPADev-S06P01-GetAndSortData [C#] [VB] [Windows Legacy]
P02 RPADev-S06P02-SetData [C#] [VB] [Windows Legacy]
P03 RPADev-S06P03-Highlight-TypeItems [C#] [VB] [Windows Legacy]
-
Project Organization In Studio
P02 RPADev-S07P02-StateMachines [C#] [VB] [Windows Legacy]
P03 RPADev-S07P03-FixMyWorkflow [C#] [VB] [Windows Legacy]
P04 RPADev-S07P04-Libraries
-
Error And Exception Handling In Studio
-
Debugging In Studio
-
PDF Automation In Studio
-
Email Automation With Studio
-
Orchestrator For RPA Developers
-
Robotic Enterprise Framework Overview