Oracle Analytics Cloud and Server

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

Alias column in presentation layer throwing nonexistent column error

Received Response
21
Views
11
Comments
Rank 3 - Community Apprentice

Hi

We have few columns which renamed later, defined alias in presentation layer.

Report created with old names are now throwing error nonexistent column even though old name mentioned in alias.

Please help.

Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.
«1

Answers

  • Rank 6 - Analytics Lead

    Hi,

    Can you please share the details, like the environment details, error screens, etc.?

  • Rank 3 - Community Apprentice

    Hi

    The column "Industry SIC" is rename to "Primary Industry Code" in presentation layer and old name mentioned in Alias.

    Reports are already developed using alias name. while generating those reports getting below error eventhough name is mentioned in alias.

    pastedImage_0.png

  • Rank 8 - Analytics Strategist

    Hi,

    you don't have to change anything in the reports when you alias a column in the presentation layer, it just works without a rewrite.

    So you either need to go back to the prechanged version of the report(s) or refresh the field(s) in question in the report.

  • Rank 6 - Analytics Lead

    Can you also share a screen of the Presentation layer (the alias) as well?

    As Robert highlighted, you do not have to do anything post creating a alias in Presentation Layer.

  • Rank 3 - Community Apprentice

    Hi SonPat,

    "Primary Industry Code" is having alias name as "Industry SIC" as per below screenshot. Still getting error mentioned above for same column.

    pastedImage_0.png

    pastedImage_1.png

    Thanks

  • Rank 8 - Analytics Strategist

    Does the alias have a trailing space?  Just looking at obvious points where the lookup will fail ...

  • Rank 2 - Community Beginner

    It's looking up Industry."Industry SIC". Your Presentation Column has a FQN (fully qualified name) of "Primary Industry"."Industry Code" if you take into account the table name. Is the table aliased as well?

  • Rank 6 - Analytics Lead

    Hello,

    Your Table name from the initial screen shot is "Industry"

    pastedImage_1.png

    But, from the new screenshot, you are referring to table "Primary Industry"

    pastedImage_2.png

    As highlighted by Christian Berg, I think this is causing the problem. Have you renamed the table as well...?

  • Rank 3 - Community Apprentice

    Hi All,

    Yes the table name was not aliased. Its working fine now after giving alias name to the presentation table.

    Thanks for all your help and Support.

  • Rank 2 - Community Beginner

    Good to hear. Watch out for aliases - they are a huge pain in the long run and make maintenance and lifecycle-management a real chore since no one knows which combination of "name"."alias"."name" or "alias"."alias"."alias" or "alias"."alias"."name". etc etc etc gets used and where.

Welcome!

It looks like you're new here. Sign in or register to get started.