Oracle Analytics Cloud and Server

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

OBIEE prompt values restriction

Received Response
111
Views
8
Comments
Rank 1 - Community Starter

Obiee prompt for column we have 14 digit account number

If user enters more than 14, it should ignore those values and should give results for 14.

Tried all option trimming and substring but unable achieve it.

Tagged:

Welcome!

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

Answers

  • Rank 6 - Analytics Lead

    If your prompt populates a presentation variable, say "varAcct", you can filter your query on "tablename"."Account Number" =LEFT('@{varAcct}',14) But, this solution doesn't address all the other potential typos that may occur when users are typing in a 14 digit number.

  • Rank 1 - Community Starter

    Thank you!

  • Rank 1 - Community Starter

    Thank you!

  • Rank 1 - Community Starter

    Thanks for the response. I'm having one issue with this presentation variable working for one value only at a time ..how can we make it work for multiple account numbers if user enters .

  • It's one or the other: you can't support multiple values if you want to keep only the first 14 chars. Your input is just a piece of text, it doesn't have any logical meaning for the tool.

  • Rank 2 - Community Beginner

    You would be better getting them to use the search on the dashboard prompt rather than letting them try and type in their own.

  • Rank 2 - Community Beginner

    You would be better getting them to use the search on the dashboard prompt rather than letting them try and type in their own.

  • Rank 2 - Community Beginner

    You would be better getting them to use the search on the dashboard prompt rather than letting them try and type in their own.

Welcome!

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