Categories
- All Categories
- 4 Oracle Analytics Sharing Center
- 9 Oracle Analytics Lounge
- 185 Oracle Analytics News
- 40 Oracle Analytics Videos
- 15.3K Oracle Analytics Forums
- 5.9K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 63 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- 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