Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Bi Publisher SYSDATE - 1 calculation
Summary
Bi Publisher SYSDATE - 1 calculation
Content
I am trying to display today's date minus one on my BI Publisher report. In the advanced BI Publisher Properties tab I have the following command; <?xdofx:(sysdate()-1)?>. What is displayed on my PDF output is 'NaN'.
Answers
-
calculate sysdate-1 in your data source it self...get it as a column in datamodel and use it the way you want it.
0 -
This will work only if my query returns data. If no data is returned the report still needs to be generated with a 'No data to report' message and the generation date (which is my sysdate - 1) still needs to be displayed
0 -
Please use
<?xdoxslt:sysdate()-1?>
0 -
Iam sure it should be possible using xml tags in bi publisher. But, why dont you try using formula field in RDF and get the value using SQL query. This is not linked to original query and will return value irrespective of query returning rows.
0