BI Publisher (MOSC)

MOSC Banner

Oracle BI Publisher 12C two different fields show the same value when inserted to the BIP template

edited Jan 26, 2021 10:02PM in BI Publisher (MOSC) 2 commentsQuestion

Below are three lines from my BIP Datamodel SQL

   (SUBSTR(:P_TAXYR-2,3,2) ||'-'|| SUBSTR(:P_TAXYR-1,3,2)) AS PY1,

   (SUBSTR(:P_TAXYR-1,3,2) ||'-'|| SUBSTR(:P_TAXYR,3,2)) AS PY2

 FROM NYC_PROPMAST A

Substring required to concatenate and display the last two digits of two years as---> 19-20 and 20-21 depending on the year entered in the parameter.

I have inserted both fields PY1 and PY2 into my template body, not the heading.

I verified by executing the SQL that PY1 and PY2 contain different values as they should .

However when I insert PY1 and PY2 into the template body and run the report both PY1 and PY2 values are the same.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center