Categories
- All Categories
- 69 Oracle Analytics News
- 5 Oracle Analytics Videos
- 13.9K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 37 Oracle Analytics Trainings
- 56 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 2 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
how to summarize data group by specific date range?
Summary
want to summarize not in a regular calendar date range
Content
In OAC or DVD
For example, I have a table with detail data from Jan. 01~ Dec. 31.
I have another table to define the date range for summary. Let's say, summarize data from Jan.01 ~ Feb.15 (start_date Jan 01, end_date Feb 15), Feb 16 ~Mar 20 (start_date Feb 16, end_date March 20)...etc. The date Range could be random depending on the business requirement.
how to summarize the data by specific date range?
Answers
-
Create a Calendar Dimension table with specific dates assigned to range name
Create a calculated column CASE WHEN DATE > 1/1/2021 and DATE < 2/15/2021 THEN Range1 etc
0 -
Wvansluys, Thanks your reply. But the start date and end date records are too many, it is not possible to define all of of them in a calculation.
0 -
Hi,
You can write a data flow with the joins between your date column (in detailed dataset) and your range dates (from your range table). Please find the attached image for the reference.
Regards,
Neeti
0