Oracle Analytics Cloud and Server

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

Selecting Hierarchy Columns in Calculated Columns with Case Statements (OAC DV + Essbase)

Received Response
34
Views
5
Comments

Environment:

  • Oracle Analytics Cloud (OAC) Data Visualization
  • Source System: Essbase EPM
  • Issue: Dynamic hierarchy column selection in calculated columns

I am trying to create a calculated column that dynamically selects different hierarchy columns based on a parameter value using a CASE statement. While the hierarchy members exist and work perfectly as canvas filters, I cannot reference them in calculated column expressions.

Questions:

  1. Is there a specific syntax for referencing Essbase hierarchy members in OAC calculated columns?
  2. Are there limitations on using hierarchy dimensions in calculated column expressions vs. filters?
  3. What's the correct way to dynamically select between different hierarchy levels using parameters?
  4. Are there alternative approaches to achieve dynamic hierarchy column selection in OAC DV?

Additional Context:

  • The same hierarchy members work perfectly when used directly in visualizations or as filters
  • This suggests the issue is specifically with how calculated columns handle hierarchy member references
  • I need this functionality to create dynamic reports where users can switch between different organizational hierarchy levels

Any guidance on proper syntax or alternative approaches would be greatly appreciated!

Answers

  • Ajinkya Vyawahare
    Ajinkya Vyawahare Rank 6 - Analytics Lead

    Can someone please take a look and help?

  • GayathriAnand-Oracle
    edited Jun 9, 2025 2:39PM

    Hi

    Not sure what error you are seeing but when I tested I get Nonexistent Column error when I try to use a hierarchy column in a calculation. Looks like this is not yet a supported use case.

    Thanks

    Gayathri

  • To add, potentially selection steps feature may help with your use case.

  • Ajinkya Vyawahare
    Ajinkya Vyawahare Rank 6 - Analytics Lead

    Hi @GayathriAnand-Oracle

    It's the same error that I am getting. Non-Existent column.

    Seems true that OAC DV currently does not support Hierarchy selection using Parameter.

    Hope they work on this and it should be added as another feature

  • Ajinkya Vyawahare
    Ajinkya Vyawahare Rank 6 - Analytics Lead

    Hi SteveF-Oracle

    It won't work that way. User wants Hierarchy as Table to filter another pivot. He does not want drop down.

    I want to pass parameter from the landing page to filter hierarchy depends on user selection.