Hi,
I have a report scheduled daily for the current month's data.
the logic for the current month is, that I have put a default selection as the "Current Month" and put a schedule thing using properties.
if(?Year Month?='Current Month')
then
(
[Date]<=[YYYY-MM]
)
else
(
[Date]<=?Year Month?
)
[YYYY-MM] data item consist of "
convert(varchar(7), current_date, 126)" (which is 2022-09)
As of now, the new req is: on every first of the month the report should schedule and run for the prior month, and for the remaining days it should be for 'Current Month'for the preceding month do I need to develop similar to this or can we do anything while scheduling?
if we need a logic change what might it be?
Thanks,
PS
------------------------------
P S
------------------------------
#CognosAnalyticswithWatson