Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
james
Creator III
Creator III

Reduced Document Name saving as today-1?

All, is there a way in 9.0 to save the reduced document name to today -1?

You can use %dd%, which gives you the 15th, however the data is one day old and I was tryng to create it to say the 14th, using %dd-1%, but no luck..

Any ideas

10 Replies
vgutkovsky
Master II
Master II

I dug around a little more on this. I think that %ScriptParameter% does not mean a variable in the script in the sense that we mean, but is instead tied to the Parameter Name / Parameter Value on the reload tab and is used like a Repeat task in 8.5. So scratch that.

Unless there is some hidden way to insert formulas directly in the naming convention (and I don't think there is), you might need to create a separate field instead of a variable. This field would have a value of day(today()-1) for each instance of the field on which you are reducing. Then the naming convention could use %DocumentField,fieldname%. It's a little annoying to have to do it like this, but I don't know of any other way.

Good luck,