Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Filter Dimension Members that don't have any Values in selected Measures Expand / Collapse
Author
Message
Posted Wednesday, September 18, 2013 10:31 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, September 30, 2013 1:33 AM
Points: 10, Visits: 15
Hi there,
I have currently been put up on a Task at work to filter out Members of every Dimension used later in Reports (Reporting Services) or Excel for which there is no Values in the used Measures.
My question is straight up, How is this done ?
I believe many might have had to deal with this issue at some time,
my hope is that it can be done directly on Analysis Services (Some Property field that Needs changing), please avoid any mdx, since i can't use it on Client Tools such as Excel.
Many thanks to you all in advance,
I'm looking Forward to your Help :)

this is my Problem

Post #1496009
Posted Thursday, September 19, 2013 5:34 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Yesterday @ 7:34 PM
Points: 3,152, Visits: 1,373
The answer will probably be along the lines of writing MDX within the cube design to add a set to the cube to show only the members of the dimension with values. In the example you gave this looked with the ADV2012 cube. These are available in Excel within the pivot table

To filter the dates that are valid for Reseller Sales measures (Order Quantity and Sales Amount)

CREATE DYNAMIC SET CURRENTCUBE.[Valid Set of Reseller Sales Date] AS
NONEMPTY(
[Order Date].[Date].[Date].MEMBERS, -- This is the full set to be filtered
{
[Measures].[Reseller Order Quantity],
[Measures].[Reseller Sales Amount]
} -- This is the set of measures to filter the list for fully null values
)


Fitz
Post #1496326
Posted Thursday, September 19, 2013 5:50 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, September 30, 2013 1:33 AM
Points: 10, Visits: 15
Hi there, thanks for your answer, sadly it doesn't really fix my Problem
Think about the following Scenario:
Say i Have 100 Customers that get into a Dimension, and i filter for the current Month, and now only 12 of them have Values in the Measure i am using. currently when i try to filter out specific Customers, i get 100 as oposed to the 12 that could really concern me.Isn't there a way to do this, must be? shouldn't it,
i mean it must have been annoying to somebody else who was trying to filter and than head to scroll through a bazillion values till he found what he needed.

Thanks again
Post #1496334
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse