Hi,
@export SET Filename= "C:\Desktop\sales_${dbvis_date}$.csv";
The date can also be formatted:
@export SET Filename= "C:\Desktop\sales_${dbvis_date||||||format=[MMyyyy]}$.csv";
Regards
Ove
Hi BH,
Sorry, I missed that you wanted to set the previous month.
Unfortunately there is no way to set a variable - I will add this as a suggestion for improvement.
If you are using this in script you can as a work around use an environment variable and use this variable in the file name e.g. for the variable LAST_MONTH
@export SET Filename= "C:\Desktop\sales_${env.LAST_MONTH}$.csv";
Regards
Ove
Black_Hole
Dear Team,
I'm trying to put the value of the last month as a suffix in my filename.
Please could you tell me if it's possible to do that in DbVis ?
For example :