We have a Field “Fiscal Periodweek” with value format FY2007P12W05 used as a prompt in the universe(@prompt).
The requirement is to have the current Fiscal value as a default value as a prompt in the @prompt function.We have derived the current fiscal value in the universe and is readilly avialible to use but unable to get the desired default to come up when the report is prompted.
in the @prompt we either get a blank default or the full text of the object we have given in
You can’t do it “directly” but couldn’t you set the default to CURRENTPERIOD and then code it…
PERIOD = CASE WHEN @Prompt('Select Period','A',MONO,FREE,'list of values',{'CURRENTPERIOD'},user:0) = 'CURRENTPERIOD' THEN (select current_period from somewhere) ELSE CASE WHEN @Prompt('Select Period','A',MONO,FREE,'list of values',{'CURRENTPERIOD'},user:0) END