I am Beginner , i was doing a activity on my own, extacting the data in CSV For one month in yearly data sheet i some how managed to filter the dates and data, but now im trying to build a data new data sheet with one month data.
I have used Read CSV file and stored in dtinput data.
2.Then i tried to filter data bw the dates 1/1/2018 to 31/1/2018, which i couldnt do it.
with the help of forum
i used Assign activity
dtInputData.AsEnumerable().Where(Function(row) CDate(row(“Date”).ToString()) >= datetime.ParseExact(“01/01/2018”,“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture) And CDate(row(“Date”).ToString()) <= datetime.ParseExact(“31/01/2018”,“dd/MM/yyyy”,System.Globalization.CultureInfo.InvariantCulture)).toArray()
Then i used For each activity
and used Get row activity
Used a write line… to display what i have selected.
till here its fine,It displayed in the Output.
but when i created Build Data table.
and tried to move the filtered data in the new data table by using ADD Rows( In ArrayRow i placed the output in which i have row data, im not able do that.
Its displaying Compiler error encountered processing expression{.row_date}.
leading"." or"!" can only appear inside the "with"statement.
Stuck with this. since im a new user cannot upload the XAML file to show what i have done.
Welcome to the community!!
I have created sample workflow for you to test it out. I have taken a set of data from excel file and trying do the same thing you want to do. It works fine.
Check it out… This has the excel file and the sample workflow file. I have also added comments in workflow activities for you to easily understand why I have done it. So it will be helpful for you!
If this works for you, please mark the answer as the solution so it could help others as well… Its a good question by the way!!