have interfaced HANA DB of my company to In connect DB.
IN HANA Table, One of the view period is mandatory so I have put Codes in SQL editor of Alteryx as :-
FROM "_SYS_BIC"."acs.Inventory.InvSummary/QV_INV_DETAIL"('PLACEHOLDER' = ('$$IP_CC$$', '''ALL'''),
'PLACEHOLDER' = ('$$IP_PRCTR_SBU$$', 'PLACEHOLDER' = ('$$IP_SOURCE_SYSTEM$$',
'''ALL'''), 'PLACEHOLDER' = ('$$IP_PLANT$$', '''ALL'''),
'PLACEHOLDER' = ('$$IP_PRCTR_SBG$$', '''SPS'''),
'PLACEHOLDER' = ('$$IP_FISC_PER$$', '2020001'))
Instead of above value of '2020001', I want to put a formula which will give previous Month. For current month formula I have put 'PLACEHOLDER' = ('$$IP_FISC_PER$$', ''CONCAT(CONCAT(YEAR(CURRENT_TIMESTAMP),"0"),MONTH(CURRENT_TIMESTAMP))')) and it is working.
Please suggest a formula so that it will see current system date and convert it to previous month.