BI Publisher (MOSC)

MOSC Banner

Have field display 0 if no match found on query

edited Nov 25, 2019 9:58AM in BI Publisher (MOSC) 1 commentAnswered

I have a report that has several customer types and we are creating a BI Publisher report that will report inventory issued out to each customer type. Sometimes the peoplesoft query data source for the report doesn't return any rows for a customer type due to no transactions taking place in the reporting query. When no data exists, we need it to display 0 for our users. I have attempted several variations of for each, choose, and if statements and can't get it to always return the 0 value. When it doesn't return 0, it just returns a blank space.

Current code that is working part of the time:

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