Categories
- All Categories
- Oracle Analytics Learning Hub
- 19 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 232 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.9K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 87 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
All (or None) filter values in a Expression filter using a parameter
 
            What is the syntax to default to All or None values within an expression filter for a Viz?
For example, lets say I have a filter prompt bound to pv_customername, defaulting to 'All'
I want to filter a viz by this filter only when the user selects a value otherwise it should bring back all results or not filter on this column at all.
Customer_Name IN (@parameter(pv_customername)('%')
What is the correct syntax for % to do this?
Best Answers
- 
            Answering my own Q here: The syntax I found is Customer_Name IN (@parameter(pv_customername)(Customer_Name) 4
- 
            Customer_Name IN (@parameter(pv_customername)('') - Will provide parameter values as a default value. Customer_Name IN (@parameter(pv_customername)(Customer_Name) - Will provide the value you mentioned irrespective of parameter value. 1
Answers
- 
            Very helpful information. Thanks for sharing @Jayko Paten! 0

