Categories
- All Categories
- 76 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Parameter in BIP DataModel LOV query
Content
Hi All,
We have a requirement to restrict the data from LOV query based on the parameter values passed.
We have couple of parameters in our data model. Some of our parameters are getting the data from LOV query. We want to restrict the data from LOV query based on other parameters which is not referring the LOV query.
E.g: I have parameters P1 and P2.
When the users selects the value for P1. I want this value to be referred in the LOV query in the where condition and value for the P2 to be populated.
Can you please guide how to achieve this if this is possible.
TIA.
Answers
-
Hi Xavier.
Using your example.
LOV that populates P2 should have the query containing the P1 parameter: Ex 1.: SELECT <cols> FROM <table> WHERE <attribute_filter> = :P1
You should then set the option REFRESH OTHER PARAMETERS ON CHANGE checked on the P1 parameter.
You may need to work out a little the LOV query as you may want P1 to send more than one value for example.
Ex 2.: SELECT <cols> FROM <table> WHERE <attribute_filter> IN (:P1)
Hope this helps.
Cheers.
Fernando
0 -
Thanks Fernando. This helped
0