SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Filter Dimension Members that don't have any Values in selected Measures


Filter Dimension Members that don't have any Values in selected Measures

Author
Message
gb 86916
gb 86916
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 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 Smile

this is my Problem


Mark Fitzgerald-331224
Mark Fitzgerald-331224
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3884 Visits: 1538
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
gb 86916
gb 86916
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search