<data:banded-mdx-datasource xmlns:data="http://jfreereport.sourceforge.net/namespaces/datasources/mondrian"><data:mondrian-properties><data:property name="UseContentChecksum">true</data:property><data:property name="JdbcConnectionUuid">SampleDataUUID</data:property></data:mondrian-properties><data:connection design-time-name="SampleData"><data:jndi><data:path>SampleData</data:path></data:jndi><data:cube-file><data:cube-filename>../steelwheels.mondrian.xml</data:cube-filename></data:cube-file></data:connection><data:query-definitions><data:query name="TopNMDX"><data:static-query>with 
  set [TopSelection] as
  'TopCount(FILTER([Customers].[All Customers].Children,[Measures].[Sales]&gt;0), Parameter(&quot;TopCount&quot;, NUMERIC, 10, &quot;Number of Customers to show&quot;), [Measures].[Sales])'
  Member [Customers].[All Customers].[Total] as 'Sum([TopSelection])'
  Member [Customers].[All Customers].[Other Customers] as '[Customers].[All Customers] - [Customers].[Total]'
select NON EMPTY {[Measures].[Sales],[Measures].[Quantity] } ON COLUMNS,
  { [TopSelection], [Customers].[All Customers].[Other Customers]} ON ROWS
from [SteelWheelsSales]
where 
(
strToMember(Parameter(&quot;sLine&quot;, STRING, &quot;[Product].[All Products].[Classic Cars]&quot;)), 
strToMember(Parameter(&quot;sMarket&quot;, STRING, &quot;[Markets].[All Markets].[Japan]&quot;)), 
strToMember(Parameter(&quot;sYear&quot;, STRING, &quot;[Time].[All Years].[2003]&quot;))
)
</data:static-query></data:query></data:query-definitions></data:banded-mdx-datasource>
