Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
OBIEE last 7 days of data
how do I write the formula to pull the last 7 days of data from the day the report runs? I used timestampdiff(sql_tsi_day,-7,CURRENT_DATE) but that doesnt seem to work
Answers
-
If you read the error OBIEE return you when using your formula you see that TIMESTAMPDIFF is used to get the difference (in your case in days) between 2 dates, so your "-7" isn't really a date ...
Maybe you wanted to use TIMESTAMPADD ?
With your current parameters it will work, so if you set a filter like "date" >= timestampadd(...) you get data for the past 7 days.
0 -
Hi,
Follow below link. you may resoled your issue.
TIMESTAMPS and Presentation Variables - Rittman Mead Consulting
Thanks,
Satya Ranki Reddy
0 -
Please provide the command for details of data manipulation on “XYZ” table after 17-july-2023
0 -
Post a new question instead of commenting on a 7 years old thread.
Also make sure to provide the minimum information for people not seeing your screen or knowing your environment: product name and version, and what means for you "command", "data manipulation", "XYZ" etc.
0