﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Data Warehousing / Analysis Services  / Count function issue in MDX in SQL Server 2008 R2 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 01:47:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Count function issue in MDX in SQL Server 2008 R2</title><link>http://www.sqlservercentral.com/Forums/Topic1063294-17-1.aspx</link><description>Below query is running well in SQL server 2005:"COUNT(filter(periodstodate([Fiscal Date].[Fiscal].[Year],[Fiscal Date].[Fiscal].[Month].&amp;[201012]),[MEASURES].[Rating NEW] &amp;gt;0))"But this query in causing increment in page file usage in the analysis services of SQL server 2008 R2.Error msg: 'The Operation has been Cancelled due to memory pressure.'This issue is coming when 'Count', 'filter' &amp; 'periodstodate' conditions are used together. Individually these functions are working fine in the measure.Please suggest any alternate approach to implement the above mentioned MDX.</description><pubDate>Sun, 13 Feb 2011 23:14:04 GMT</pubDate><dc:creator>Mitra_Misra</dc:creator></item></channel></rss>