Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Timestampadd

Received Response
31
Views
1
Comments

Summary

Revenue for Rolling months?

Content

How to calculate Revenue for Rolling 12 months, Rolling 24 Months and Rolling 36 months from current date in OAC? 

Version

OAC

Tagged:

Answers

  • Aman Jain-Oracle
    Aman Jain-Oracle Rank 5 - Community Champion

    Hello Danish,

    you can use the PERIODROLLING function in OAC where you specify a start and end period in the function.

    The PERIODROLLING function lets you perform an aggregation across a specified set of query grain periods, rather than within a fixed time series grain.

    Below is the PERIODROLLING function format:

    PeriodRolling(<<Measure>>, <<Starting Period Offset>>, <<Ending Period Offset>>)

    Hope this helps!

    Best Regards,
    Aman Jain