Using MDX

You can use MDX to create customized structure filters, text filters and sorts. They can be used instead of the in-built functionality of the List Designer or can be combined with it. For example, you might use structure selection in the List Designer to structure a list, but use an MDX statement to sort it.

The MDX functions, EXCEPT, INTERSECT and UNION in the MDXType list are used to specify how custom MDX statements are combined with the List Designer. To use the List Designer or MDX exclusively, select Use list definition or Use custom MDX.

This example is based on the Samples application, which can be enabled in on-premises environments. It uses a hyperblock created from the Product dimension. The Samples application is not available in the Infor cloud.
  1. Select the hyperblock to enable the List Designer.
  2. In the Custom MDX field, of the Advanced pane, specify:="[Product].[All Tires].[Car Tires Winter]".
  3. In the Filter pane of the List Designer, create this filter: Caption=Summer Tires.
  4. In the MDXType list in the Advanced pane, select Use list definition.
  5. Select Use custom MDX.
    In View mode the report displays only Winter Tires.
  6. Select UNION.
    In View mode the report displays Summer Tires and Winter Tires (the UNION function creates a logical OR relationship).
  7. Select EXCEPT.
    View mode shows Summer Tires (the EXCEPT function subtracts the MDX selection from the List Designer selection).
  8. Select INTERSECT.
    View mode is blank. (the INTERSECT function creates a logical AND relationship).