Oracle Analytics Cloud and Server

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

how to create delta measure on union query

Received Response
31
Views
4
Comments
Tony_OAS_Apex_User
Tony_OAS_Apex_User Rank 5 - Community Champion

i have created union with measure in different year and want to compare that two years and get a delta column in union when it gets showing on pivot.

product                FY2020               FY2019            Delta

------------------------------------------------------------------------------

Toy                      1650                      1630               ?

Electronics          45000                    54200             ?

any idea?

thanks.!

Answers

  • Why a union in your analysis instead of a simple analysis getting the 2 years ?

    A union disable many features of OBIEE, so it's generally the last option ever you try when there is no way to get things without.

    Are FY2020 and FY2019 in different business models?

  • Tony_OAS_Apex_User
    Tony_OAS_Apex_User Rank 5 - Community Champion

    Thanks Gianni,

    Yes, I came to a last option ..

    yes it's from different models.

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner
    user2074645 wrote:Yes, I came to a last option ..

    What did you try before? Which approaches did you do?

  • Joel
    Joel Rank 8 - Analytics Strategist

    Have you used a result column to calculate the delta?

    A18C98DD-B23A-4BAE-966B-0740A92BE3AA.png@Gianni Ceresa

    As @Gianni Ceresa mentioned, it may be a better option to federate the data in the repository so that you get all the data from a single logical fact and dimension and therefore, a single analyses without any set operation required.