Hi all,
I'm new to PowerPivot but have got as far as easily using a design interface that writes the necessary MDX query that then pulls my data.
My question: My query returns a large dataset with just one "metric" column (ROI Value). A lot of these rows have 0 for ROI Value, and so I don't really need them. How can I filter my query so only rows with ROI Value > 0 remain? I don't want to filter within PowerPivot, I want the query to return just non zero rows.
My current query is like so:
SELECT NON EMPTY { [Measures].[ROI Value] } ON COLUMNS, NON EMPTY { ([Advertiser].[Advertiser].[Advertiser].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [HM_BI_CUBE]
I imagine it invloves changing the first bit SELECT NON EMPTY { [Measures].[ROI Value] }
I'm new to PowerPivot but have got as far as easily using a design interface that writes the necessary MDX query that then pulls my data.
My question: My query returns a large dataset with just one "metric" column (ROI Value). A lot of these rows have 0 for ROI Value, and so I don't really need them. How can I filter my query so only rows with ROI Value > 0 remain? I don't want to filter within PowerPivot, I want the query to return just non zero rows.
My current query is like so:
SELECT NON EMPTY { [Measures].[ROI Value] } ON COLUMNS, NON EMPTY { ([Advertiser].[Advertiser].[Advertiser].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [HM_BI_CUBE]
I imagine it invloves changing the first bit SELECT NON EMPTY { [Measures].[ROI Value] }