﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Bill_Pearson  / Sample query SMDX005 - 003 I get error / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 14:22:15 GMT</lastBuildDate><ttl>20</ttl><item><title>Sample query SMDX005 - 003 I get error</title><link>http://www.sqlservercentral.com/Forums/Topic1170347-2861-1.aspx</link><description>I get the following error:The MEMBERS function expects a hierarchy expression for the  argument. A member expression was used.when I try to run:SELECT     { [Measures].[Reseller Order Quantity],    [Measures].[Reseller Sales Amount] } ON  AXIS(0),     NON EMPTY { [Date].[Calendar].[Calendar  Year].MEMBERS } ON AXIS(1)FROM   [Adventure Works]I'm running SQL SERVER 2008 R2...Great tutorial...Thanks in advance!MarkA</description><pubDate>Tue, 06 Sep 2011 06:51:59 GMT</pubDate><dc:creator>MarkA-218060</dc:creator></item></channel></rss>