I an loading data in from some spreadsheets, and I'm trying to limit it to recent dates but it is not working. It always pulls the full dataset I have tried limiting the load with 'where' clauses on several fields, but no joy.
Is is possible to use a 'where' clause with a preceding load? If so, anyone have any ideas why this doesn't work?
Store SALES Into '$(vQVDDestPath)SALES.qvd'; exitScript
The strange thing is I looked at the QVD with a qvd viewer, and it shows the values I want excluded differently - see how 2013 is right justified?
I checked and all the data is the same format in the excel sheet.
Thanks Community!
Fred.
Edit - I know I could put the 'where' clause in the initial load and not use preceding load. I am actually taking year and month, making a date, then comparing 'where newDate > $(variable) and newDate < today() plus a few other things that make preceding load a nice way to run. The script I posted is simplified for troubleshooting.