UiPath- How to Compare two Data Tables| Output the similar and dissimilar rows |Faster method

  Рет қаралды 9,476

AutoBot by Rahul

AutoBot by Rahul

Күн бұрын

Пікірлер: 42
@mharish83
@mharish83 Жыл бұрын
Very useful video, it will be a guide for future references.
@juanpiedra1048
@juanpiedra1048 11 ай бұрын
Thanks a lot Rahul!
@BrianPiret
@BrianPiret Жыл бұрын
Really useful! Thanks for sharing!
@akkijain1000
@akkijain1000 Жыл бұрын
thanks very much really helpful looking for this only
@somasekhararchakam3825
@somasekhararchakam3825 2 жыл бұрын
Thank you for sharing the video.I found this very useful
@UiPathUser
@UiPathUser Жыл бұрын
The condition for this is both the tables need to have same and equal column names?
@autobotbyrahul
@autobotbyrahul Жыл бұрын
We can modify the column names.. Can plz explain your requirement?
@princedjll4912
@princedjll4912 2 жыл бұрын
Thanks Bud, I tried solving this problem based on the forums, but they didn't show how to solve the error around 7:30. Thanks for that (changing string variable to datatable).
@autobotbyrahul
@autobotbyrahul 2 жыл бұрын
😀Is your issue resolved now?? Thanks
@princedjll4912
@princedjll4912 2 жыл бұрын
@@autobotbyrahul Yes it is :)
@pratheep-prem
@pratheep-prem Жыл бұрын
Hi sir, can you pls tell how to do this same match/unmatch comparing only one column and ignoring other columns for comparision?
@autobotbyrahul
@autobotbyrahul Жыл бұрын
@pratheep-prem Please raise it in forum.uipath.com and share me the link plz.. I can respond there.
@pratheep-prem
@pratheep-prem Жыл бұрын
@@autobotbyrahul i have raised the question pls respond sir . Thanks
@autobotbyrahul
@autobotbyrahul Жыл бұрын
Can plz share the link here
@Mayur-i6n
@Mayur-i6n 11 ай бұрын
Can i compare csv and excel
@autobotbyrahul
@autobotbyrahul 11 ай бұрын
Yes you can
@GauravBhargava-RPA
@GauravBhargava-RPA 2 жыл бұрын
Good one
@marcelalugo5435
@marcelalugo5435 2 жыл бұрын
Super helpful! thanks a lot for making this video :)
@prashantrai5911
@prashantrai5911 2 жыл бұрын
Bro need more videos on Excel scenario based questions
@autobotbyrahul
@autobotbyrahul 2 жыл бұрын
Hi Prashant, Will be doing a video to cover the important Excel scenario based questions.
@prashantrai5911
@prashantrai5911 2 жыл бұрын
@@autobotbyrahul great, waiting for next video
@sangitaandhale1673
@sangitaandhale1673 Жыл бұрын
I have two files having col ID and Creation date so i need to compare both files and identify which id is present in both file and compare there date col as which id against date is created first like file1Date> file2Date or file1Date
@autobotbyrahul
@autobotbyrahul Жыл бұрын
Can you raise the question in forum.uipath.com and share the link here.
@lulea
@lulea 2 жыл бұрын
thank you very much for great efforts....can you please tell how to compare by column name ?
@autobotbyrahul
@autobotbyrahul 2 жыл бұрын
Hello Mohsin, Do you need to compare 2 datatable for some particular column instead of entire rows??
@RJ-gk7cc
@RJ-gk7cc 2 жыл бұрын
@@autobotbyrahul Yes bro..could you please explain how to do that
@autobotbyrahul
@autobotbyrahul 2 жыл бұрын
@@RJ-gk7cc Here you can use Left join the Join Datatable activity. In the Join condition, choose the columns to match and condition as "=".
@pratheep-prem
@pratheep-prem Жыл бұрын
​@@autobotbyrahulsir pls give syntax for the same.plsssssss
@ArnelTerblanche
@ArnelTerblanche 8 ай бұрын
Hi Rahul, my value to save: dt_FinancialsFinal.AsEnumerable.Except(dt_CollectionsFinal.AsEnumerable,System.Data.DataRowComparer.Default).CopyToDataTable is giving the following error = BC30311: Value of type 'DataTable' cannot be converted to 'String'. The selected value is incompatible with the property type.
@ArnelTerblanche
@ArnelTerblanche 8 ай бұрын
You can fix it by adding the Assembly Reference manually in your xaml file: image Simply open the file in Notepad and create new line with this String: System.Data.DataSetExtensions Then reopen your project and the error should be gone.
@bigmetigie8873
@bigmetigie8873 Жыл бұрын
Dear sir, Can you help, if the dissimilar data that going to show in the new file? And the order of the row between the tables are random, thank you for your help.
@autobotbyrahul
@autobotbyrahul Жыл бұрын
Hello Bigme, Does that mean you have 2 tables and you need to compare to get the dissimilar rows?? It would be better if you raise it in uipath forum and share the post here.. I can check that and help you
@bigmetigie8873
@bigmetigie8873 Жыл бұрын
@@autobotbyrahul i already looking in the forum, and found the similar one and use it for now, but its only give match and unmatch status, for the unmatch rows i dont know which cells that different, so its need a little modification to the vb script so it will highlight the cell that different, could yo help on this?
@autobotbyrahul
@autobotbyrahul Жыл бұрын
@@bigmetigie8873 In the expression are you using intersection or Except?
@bigmetigie8873
@bigmetigie8873 Жыл бұрын
@@autobotbyrahul Dt1.AsEnumerable().Where(Function(row) Dt2.AsEnumerable.Any(Function(x) x("Item").ToString=row("Item").ToString="Match") Dt1.AsEnumerable().Where(Function(row) Not Dt2.AsEnumerable.Any(Function(x) x("Item").ToString=row("Item").ToString="UnMatch")
@rishikesh1331
@rishikesh1331 Жыл бұрын
How to compare on specific column alone ?
@autobotbyrahul
@autobotbyrahul Жыл бұрын
You can add the column name to the linq expression. Plz raise a post in forum and share the link here.
@rishikesh1331
@rishikesh1331 Жыл бұрын
@@autobotbyrahul can you share the expression
@ShivamMalhare
@ShivamMalhare Жыл бұрын
I tried for two excel sheets but I am getting following errors :- System.InvalidOperationException: The source contains no DataRows.
@autobotbyrahul
@autobotbyrahul Жыл бұрын
Can you plz confirm there are data rows available in the sheet? You can raise a concern in forum.uipath.com and share it here.
@learningrpa7639
@learningrpa7639 2 жыл бұрын
For me. System. Data. Datarowcomparer is not showing
@autobotbyrahul
@autobotbyrahul 2 жыл бұрын
Plz check both variables DT1 & DT2 are of type DataTable.
How to Compare Excel Sheets in UiPath (Full Tutorial)
56:58
Anders Jensen
Рет қаралды 12 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 32 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 10 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 134 МЛН
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 41 МЛН
Supercharge Your Data Filtering with LINQ's .Where Method
21:47
Automate with Rakesh
Рет қаралды 3,8 М.
UiPath Compare Two Excel Files
23:32
Training Videos
Рет қаралды 3,8 М.
Get duplicates and non duplicate rows using Uipath
20:00
Let's Automate!!
Рет қаралды 5 М.
Compare 2 Sheets Data Row by Row in UiPath
27:40
UiPath RPA
Рет қаралды 6 М.
The Column Cast Method in DataTable Using LINQ in UiPath
14:11
Automate with Rakesh
Рет қаралды 2,9 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 32 МЛН