BI Publisher - using to_Char in LoV returns Invalid Parameters Requested — Oracle Analytics

Oracle Analytics Cloud and Server

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

BI Publisher - using to_Char in LoV returns Invalid Parameters Requested

Received Response
374
Views
2
Comments

Summary

BI Publisher - using to_Char in LoV returns Invalid Parameters Requested

Content

Hi all,

 

I'm using Oracle Business Intelligence 11.1.1.9.0.  I have a report where i would like to use a parameter with LoV which is just a sysdate trimmed to the minute :

TO_CHAR(SYSDATE, 'RRRRMMDDHH24MI')

I make this parameter hidden because i want the value to be same for a content_id used in bursting query too. 

The problem is that when i use to_char in LoV , the report returns error 'Invalid Parameters Requested'. 

I came across a MOS note saying that we have to avoid using functions like to_char and the workaround is to populate a temp table in event trigger and then to query that table. 

Unfortunately, this is Fusion Cloud and i don't have access to creating tables. 

 

Any ideas how i can generate a unique value for CONTENT_ID? Any other ways of getting the timestamp so I can use it in both Data Model and Bursting Query?

 

Anyone knows a bi publisher job sequence or number which i can query runtime and use?

 

Thanks in advance!

 

Kind Regards,

Aleks

Answers

  • persona4-77
    persona4-77 Rank 3 - Community Apprentice

    Hello,

    if you want a random value, you can use  TO_CHAR(dbms_random.value(1,999999),'999999');  The best would be to use a sequence, but I understand you can't modify the tables.

  • User_U66J8
    User_U66J8 Rank 4 - Community Specialist

    Hi,

     

    thanks for your reply! 

     

    Unfortunately, as I stated in my initial post, to_char is not supported in LoV(very poor) when using Bursting...

     

    Regards,

    Aleks