I am trying to filter my data from Excel. In one column I have date in format dd/MM/yyyy and would like to filter it for the previous month. For that I use variable:
myFilterVar = DateTime.Now.AddMonths(-1).toString(“MM/yyyy”)
filter wizard = “ColumnName” Contains {“*myFilterVar”}
With this I am not getting any result, however my DT is not blank. Any thoughts?
Hi @Lahiru.Fernando
it works great when I run it from the xaml, which we shared. If I move it to the file, which I have to work with, it gives me error. Are there any variables I have to create additionally? What can be the problem?
Can you try running this in the debug mode so that we can locate exactly which assign activity is causing the problem?
Right click on the for each loop, add a break point and run in the debug mode. Once it gets there, try running it in step by step so we can exactly see what is going on …