Oracle Analytics Cloud and Server

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

OBIEE Actionable Agent condition returning false.

Received Response
21
Views
7
Comments
User_FHTVE
User_FHTVE Rank 1 - Community Starter

Hi All,

I tried to create an agent to send an email based on analysis condition with row count greater than 0, But the condition is returning false. Please see the below screen shot.

pastedImage_0.png

But when i go to analysis and tried to run the report it is returning records, not sure why the agent condition is failing to check the row count. please see the below screen shot.

pastedImage_8.png

As per my observation, When i put filter on columns in OTBI Analysis report the agent condition is returning false, After removing filter condition then it is returning true. Please see the below screen shot.

Before removing Filter Condition:

pastedImage_9.png

After Removing Filter Condition:

pastedImage_4.png

pastedImage_7.png

Then Agent returning true:

pastedImage_5.png

Not sure what is the issue here, But for client requirement filter condition is required to achieve it.

Please help me on it.

Thanks,

Ravi

Answers

  • Joel
    Joel Rank 8 - Analytics Strategist

    Your rpd needs to be modified as the measures haven't been defined as such and you're comparing strings instead of numbers (note the different icon for measures below).

    pastedImage_0.png

    Add aggregations to your measures in the BMM layer to the measures and it should work.

  • Robert Angel
    Robert Angel Rank 8 - Analytics Strategist

    Please note also that doing any aggregation wise on dimensions rather than facts WILL be erroneous, because OBIEE as standard will make members of dimensions DISTINCT values BEFORE your aggregation, so if you even do a conversion and aggregation to the dimension member in a formula you will still not get the correct numbers.

  • Joel
    Joel Rank 8 - Analytics Strategist

    To be clear, my reply assumed (should have been clear of that in retrospect) that the OP had a well formed dimensional model with facts and dimensions in the BMM layer. You're right, if there isn't a proper model then the OP has a bigger issue...

  • Robert Angel
    Robert Angel Rank 8 - Analytics Strategist

    It was a 'general' caveat, not to try to use dimensions as facts - I know it can be tempting to think I can workaround it by....

  • User_FHTVE
    User_FHTVE Rank 1 - Community Starter

    Hi Joel & Robert,

    Thanks for the update,

    But our OBIEE with oracle fusion cloud we cant modify the any subject areas in fusion cloud.

    Please let me know how to achieve client requirement.

    Want to put a filter for analysis Po Amount received 80% of Po Distribution amount.

    Thanks,

    Raviteja.

  • Robert Angel
    Robert Angel Rank 8 - Analytics Strategist

    You would need a measure at distribution level for; Qty Ordered and Qtry Received; without these or equivalent then this is not achievable.

    Though if you know the underlying tables you could fulfil via a direct database request - if that is an option for you.

    You might try asking this on the BI Applications forum, I don't have access to a procurement analytics to provide more detailed answer, though you can also download the data lineage spreadsheet to get a deeper insight into the technical architecture that you cannot alter...

  • User_FHTVE
    User_FHTVE Rank 1 - Community Starter

    Hi Robert,

    Thanks for the update,

    Agent is working and returning true after adding "Ordered Quantity" and "Received Quantity" after applying filter.

    Not sure what's the difference seems like both amount and quantity columns are aggregate measures only.

    pastedImage_0.png

    pastedImage_0.png

    Thanks,

    Raviteja.