You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Non - standard SQL data model bind to different templates

edited Aug 6, 2019 2:16PM in Reporting and Analytics for ERP 3 comments

Summary

Non - standard SQL data model bind to different templates

Content

Hi there

I was wondering if it was possible to bind a non-standard SQL query parameter to a Report template with BI Publisher.

So for example based on the SQL below. If user chooses 'Consolidation' from the list of parameter values use report template A

and if user chooses 'Detail' from the list of parameter values use report template B.

Hope this makes sense.

Thanks

Mark

 

 

 

$if{ (:p_type == Consolidation)}$

SELECT
    apaa.PAY_GROUP_LOOKUP_CODE,
    SUM(airtp.GROSS_AMOUNT) as Total_By_Currency,
    airtp.CURRENCY_CODE
    

FROM

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!