BI Publisher (MOSC)

MOSC Banner

How to add the below formula in a template

edited Jun 5, 2015 1:19PM in BI Publisher (MOSC) 7 commentsAnswered

how can i add the below formula in a template

nvl(sum(case when (to_date(:P_GL_DATE,'YYYY/MM/DD HH24:MI:SS')-c.due_date)<=0 THEN c.amount_due_Remaining ELSE 0 END) ,0) Current_due

I tried adding it but i'm getting 0 as the result.

I apologize for not including the entire code for the template that i'm using. I'm using a sql query and then trying to get the output in excel but the result is not accurate on the above formula. It is just giving me 0 as the result.

Thanks for your help

Aparna

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