Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 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