dbTalk Databases Forums  

Issue with Count in MDX stmt (MSAS 2005)

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


Discuss Issue with Count in MDX stmt (MSAS 2005) in the microsoft.public.sqlserver.olap forum.



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

Default Issue with Count in MDX stmt (MSAS 2005) - 07-29-2006 , 11:47 PM






Hi,

We are using Microsoft Analysis Services 2005.

I need to display the count of fields that I am going to display on the page
as most of the dimensions in our model are fairly large. (Pagination)

I was able to calculate the total count of fields in a particular dimension
but unable to apply filters to the MDX statement.

The below MDX works and gives the total count.

with
member [Provider].[Provider_Id].[Count] as
'[Provider].[Provider_id].members.count'
select {[Provider].[ Provider_Id].[Count]} on columns from
[Provider Cube

But I need to apply filters like Time, Geography etc to the above MDX and
determine the appropriate count. Please note that I do not have a ‘Measure’
with any type of count.
Can you please help with the syntax?

Thanks,


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.