Framework:AttributFilter
From CoPlanner 11
Jump to navigationJump to search
Function
AttributFilter(<Attribute name>,<Filter operator>,<Criteria>);
Cascading Filter: This function offers a further possibility to control filter.
Please enter in property "SpecialDefinition" of the dimension.
| Parameter | Description |
| Attribute name | Name of the attribute of the dimension. System attributes are invalid. |
| Filter operator | Definition of the filter operator |
| Criteria | Expression to be used |
This function belongs to client-side functions.
Result
Displays only these elements of a filter, which are assigned to the selected element.
Example
AttributFilter(Produktgruppen,me_under,[Produktgruppen.ID]);
Entered in "SpecialDefinition" of the dimension "Products". The dimension "Products" has the attribute "Product groups". Only these products will be shown, which are assigned to the selected "Product groups".
AttributFilter(vs_key,like,'%test%');
Only these elements will be shown, which contains the given criteria in the attribute "vs_key".