I'm using report net and would like to filter a simple report based on the time dimention to display all year to date sales.
My filter in SQL language will read:
where fiscal_year = (select fiscal_year from date_info
where calendar_date = trunc(sysdate))
a) I'm not sure how to translate the sub query into a cognos filter.
b) I thought it might be best to create a parameter that calculates current fiscal year then substitute it in the filter. eg. fiscal_year = ?CURRENT_FISCAL_YEAR?
But I'm unable to figure out a method of creating such a parameter that calculates a value.
Can you please advice me on what the best way to achive this result would be.
Thank you, I'll appreciate any help on this topic
My filter in SQL language will read:
where fiscal_year = (select fiscal_year from date_info
where calendar_date = trunc(sysdate))
a) I'm not sure how to translate the sub query into a cognos filter.
b) I thought it might be best to create a parameter that calculates current fiscal year then substitute it in the filter. eg. fiscal_year = ?CURRENT_FISCAL_YEAR?
But I'm unable to figure out a method of creating such a parameter that calculates a value.
Can you please advice me on what the best way to achive this result would be.
Thank you, I'll appreciate any help on this topic