dbTalk Databases Forums  

Passing Measures in Parameters

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Passing Measures in Parameters in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Denver
 
Posts: n/a

Default Passing Measures in Parameters - 01-25-2006 , 09:57 AM






I have a query

WITH
MEMBER [Measures].[Output] AS STRTOMEMBER(@Measures)
SELECT {[Measures].[Output]} ON 0,
CROSSJOIN([NFE Broker Type].[Lead Account].Members, [Customer].[Lead
Account Label].Members, [AgingBracket].[Aging].[Aging Bracket].Members)
ON 1
FROM [AR]
WHERE (STRTOSET(@RelationshipManagerEmployeeFullName),
STRTOSET(@UltimateCustomer, CONSTRAINED), STRTOSET(@LeadAccount,
CONSTRAINED), STRTOSET(@ProofGroup, CONSTRAINED))

The problem is how do I pass the parameter @Measures into the query for
reporting services. When it asks me to define the parameter I cannot
becuase it does not show measures only dimensions in the options, Also
is it STRTOMEMBER that I use to pass it in correctly

Thanks

Denver


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.