1. Dynamic Date Parameters in BI Report
For mostof the BI Reportswe have the inputparameteras "AsOfDate"aliassysdate orcurrentdate...
Sometimeswe alsohave adate range "From Date"and "To Date"to fetchtransactionsbetweenthose
dates.Andthese datesneedtohave a defaultvalue whenwe openthe report/schedule the report.
In thisarticle we will tryandsee whatare all the optionspossible fordefaultingdate parametersforBI
Report.
Expression Description Date Format String
{$SYSDATE()$} CurrentDate / SystemDate MM-dd-yyyy
{$SYSDATE()+1$} Day nextto Systemdate MM-dd-yyyy
{$SYSDATE()-7$} 7 daysprior to Systemdate MM-dd-yyyy
{$FIRST_DAY_OF_MONTH()$} Firstday of CurrentMonth MM-dd-yyyy
{$LAST_DAY_OF_MONTH()$} Last day of Current Month MM-dd-yyyy
{$FIRST_DAY_OF_YEAR)$} Firstday of CurrentYear MM-dd-yyyy
{$LAST_DAY_OF_YEAR)$} Last day of CurrentYear MM-dd-yyyy
{$SYSDATE()$} CurrentPeriod MM
{$FIRST_DAY_OF_MONTH()-1$} PreviousPeriod MM
{$FIRST_DAY_OF_YEAR)$} CurrentYear yyyy
{$FIRST_DAY_OF_YEAR)-1$} PreviousYear yyyy
Sample Snapshots: