Oracle Transactional Business Intelligence

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

Are there alternative ways to format display when there are "no results"?

Received Response
17
Views
3
Comments

I'm wanting to see if there is an elegant way to display elements where there are no results in the context of other data. For example, I've got a Projects dashboard I built with several performance tiles, and when I apply a filter that returns no values, instead of the value reading 0 it looks like this:

image.png

The ideal would be to set the performance tile, Committed, with a result of 0.

Answers

  • Bhaskar Konar
    Bhaskar Konar Rank 8 - Analytics Strategist

    Hi @RyanPE,

    Is your analysis (used for the tiles) having only Measures?

    Use IFNULL function to convert the null to 0. here's an example:

    IFNULL("Worker Assignment"."Head Count",0)
    

    Need to make sure the analysis only hold the measure, if there's any attribute / dimension columns present, it might not work. Here's an example.

    I did a report with Tiles and misspelt the name but it is still bringing the 0 as output.

    image.png

    image.png

    The moment I add another dimension entry in the same report, it does not work.

    image.png image.png

    Hope this help.

    Thank you.

  • Rich Merkel
    Rich Merkel Rank 6 - Analytics Lead

    Hi,

    For analysis, click on the xyz (can do from criteria tab). In window below select display custom message and enter message as necessary.

    image.png
  • Rich Merkel
    Rich Merkel Rank 6 - Analytics Lead

    Hi - one other method, if you want to display zero as the result, even if there are no open commitments.

    Create complex query, and in formula set that value to zero. In second use the measure

    image.png

    use formula for total committed cost in 1st analysis

    IFNULL("- Commitment Cost Measures"."Total Committed Cost",0)

    image.png

    in 2nd query, use 0 as the formula

    image.png

    that should always produce a zero as the result if no open commitments exist.

    I'm attaching the xml (You can copy/paste into advanced secion/xml/apply xml)

    Note i've added a filter on both analysis to to prompt for project status, looking at original screenshot.

    Hope this helps, you can do same for budget/actual in case no budget/actual exists on project using same method.