Currently im developing a process of where i need to get specific row values that contained the date variable i assigned inside the column as in the picture.
I have check the format of the excel column values. But it does not have any specific format ie;General,date,Number. Nor of that fromat represent on the values contained in this specific column.
I have also tried to actually display all the values using message box. And seems like it is in string format.
And as for that, i have convert the date variable to string format (“MM/dd/yyyy”) as that is what shown in the message box.
But when i try to filter out that specific values there is no values capture except the headers of each column only.
Please help me, as im still new in Uipath and RPA. Attached are the screenshot of the table itself.
Sorry as it quite messy as im currently trying every method i found and none are working. But this is my date variable. And as for my best interest i would like to use filter wizard activity after the variable activity. and use that date variable as filter for that specific column. But somehow its not capturing anything from the column. Along with this i attached a screenshot of the values inside the column in excel file. Seems like it is in custom format.
currently i would like to have a values of current date +1 and +2 in the “SLOT_PLAN_DATE” column.
if in that specific row of the column contains the values, it will then stored and copy onto another excel sheet.
currently looking forward to find any solution that could be apply.
@hairil.hashimie The Filtering might not be having properly since it is a Date value and the value differs when we read the data from excel, Is it possible to provide the xaml file?
Thank you so much for your help. Appreciate your responses on this. But may i know hoe did you come up with that solution. Why cannt we just use equal or contains to that date variable assigned. Sorry for asking as i want to get a clear picture of what cause the problem i face. Hope you dont mind for some explanation.
After you read excel range into the DataTable variable, you can use DataTable.Columns(“TargetColumnName”).GetType to get the type, through which you can decide which operator to use.
If you want to use the operators like contains, maybe you should change the type of the column in Excel to Text before reading range, or change the type of the target column in datatable to String after reading.