Oracle Analytics Cloud and Server

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

Filter a column in criteria based on multiple presentation variables

Received Response
11
Views
4
Comments
Rank 1 - Community Starter

Hi,

I have a requirement to filter one column based on multiple variables.

Please check the attached document. The way I tried is not working. Please can you help me?

Thanks

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Rank 3 - Community Apprentice

    Hi,

    So, all of those columns are supposed to be prompting 'Level 3'? Are they mutually exclusive, so people can only select level 3 OR level 4 OR level5?

    If so, I've got a bit of a simplistic solution for you, worth a try:

    Put a filter in the report on your column as 'level 3 is equal to @{level7}' (whatever your variable is called) then do the same for the rest of your variables and make it an OR filter, like this:

    filters.png

  • Hi,

    Do you just want to filter the column based on multiple variables (multiple prompts) or do you want to do what your code was trying to do? (it's something else, a bit more precise than just what you say)

    "is not working" = ?

    What does it mean? No data? Too many data? Something else?

  • Rank 1 - Community Starter

    Hi Gianni,

    Thanks for your response.

    Yes, I wanted to achieve what my code is trying to do!

    Filter should pick up the non null value (only one value) by searching from Level 7 through Level 3.

    "is not working" = ? Answer: when I choose a value from the dashboard prompt, then it doesn't refresh the report.

    What does it mean? No data? Too many data? Something else? as I said above there is no data coming through the report. There is data in the database!

    Thanks

  • Rank 1 - Community Starter

    Hi Dan,

    Thanks for your response.

    Users can select all the prompts, but my filter looks at the lowest level he is entering on the dashboard prompt. This is a commentary requirement. I used the same logic (in the attached doc) to enter the prompt value to 'Level 3' only into the commentary table. So, they are expecting the same logic that should pick up the commentary that they entered!

    Filter should pick up the non null value (only one value) by searching from Level 7 through Level 3.




    Thanks


Welcome!

It looks like you're new here. Sign in or register to get started.