Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Get empty values from cube

Author  Topic 

mohan123
Constraint Violating Yak Guru

252 Posts

Posted - 2013-07-17 : 09:04:26
Hi All,

I would nee some help for writing the MDX Query.

Below is the my sql query


select ConditionPrevalenceKey, PopulationConditionCnt, TotalPopulationCnt, PrevalencePercent from fact.ConditionPrevalence
where ProviderID is null and ClinicID is null and ProductID is null and HealthGroupID is null and PCPID is null
and DateKey = 20121231


how can i write this in mdx query. Lets say my fact.conditionprevalene table is my fact table and having the measure

Please Suggest me?



P.V.P.MOhan

mohan123
Constraint Violating Yak Guru

252 Posts

Posted - 2013-07-17 : 10:26:28
Can anyone suggest me the best way???

P.V.P.MOhan
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-07-18 : 01:24:32
Which are the measures you want and what are dimension attribute? post the attributes and measure groups from cube and then someone can make a try

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -