How to filter line items
We have hierarchy type lists of Market Unit and Country Group (Market Unit is parent.) and Country Group list is specified as a dimension of a module. In the module, the line item 'B' is applied to Market Unit.('Applies to' of the line item 'A' is left default.)
In such a situation, if user selects one of the Country Group in the Page selector in the module, the line item 'A' only needs to be shown ('B' should be hidden.) When one of the Market Unit is selected, 'B' only needs to be.
How can we do this?