Steps
- Create a Data Model with SQL query
- Create 2 list of values(LOV), pass parameter in dependent LOV query.
- Create 2 Parameters, select their respective list of value(LOV).
- Save the Data Model.
- Run BIP Report, Dependent LOV is changing based on Independent values.
- Header_ID : Independent Parameter
- Line_ID: Dependent Parameter
For Example: We are creating 2 parameters and when the independent LOV value changes, the dependent LOV changes as well.
(1) Create a Data Model
Navigation: Navigator > More > Report and Analytics > Browse Catalogue > New > Data Model
Data Model SQL Query:
Select PO_Header_id, Type_lookup_code, segment1,Vendor_id
From PO_Headers_all;
(2) Create 2 list of values(LOV)
Create 2 list of values, one is independent and another one will dependent, pass parameter in dependent list of value SQL query
Write SQL query for each list of Value(LOV)
Pass parameter values in SQL query for dependent LOV
(3) Create 2 Parameters
Select highlighted options for both parameters
(4) Save the BIP Report
Click on Save icon from the right top of the window and choose the location where you want to save the data model.
(5) Run BIP Report
To run the BIP report click on View Data button from the right top window screen, choose any Header_ID from the first LOV and you will find second parameter Line_ID list of values are changing.
No comments:
Post a Comment