Quantcast
Viewing all articles
Browse latest Browse all 10473

Re: Passing column values as LOV of @prompt in the derived table

Hi! I'm trying to implement this and a little stuck. Hoping you can point out my error. I am using BOXI 3.1.

 

Here is my derived table, named Wubert.

 

SELECT

BANK_ACCT_CD,

BANK_NM,

ACCT_DSCR AS BANK_ACCT_DSCR

FROM DIM_BANK

WHERE

BANK_ACCT_CD IN

@prompt('Enter value(s) for Bank Account or * for ALL:','A','Wubert/LOV',Multi,Free,Persistent,{'78'})

 

I have created a class Wubert with three objects, one for each of the above.

 

I added a fourth object in this same class for the sole purpose of generating the LOV. That dimension object is defined as DIM_BANK.BANK_ACCT_CD. I have checked Associate a List of Values, Automatic refresh before use and Export with universe. When I click Edit to go take a look at the SQL that will generate the LOV, I have it as:

 

SELECT DISTINCT

  DIM_BANK.BANK_ACCT_CD

FROM

  DIM_BANK

ORDER BY

  1

 

The derived table Parses without a problem.

 

I go into WebI and try to create a new report using this derived table. I pull the three objects above (Bank Acct Cd, Bank Nm and Bank Acct Dscr). When I click SQL, I get the error message "Invalid Prompt definition. See your Business Objects administrator. (Error: WIS 00005)"

 

Suggestions?

 

Thank you very much,

Rob


Viewing all articles
Browse latest Browse all 10473

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>