Log på med Microsoft
Log på, eller opret en konto.
Hej
Markér en anden konto.
Du har flere konti
Vælg den konto, du vil logge på med.
Engelsk
Vi beklager. Denne artikel er ikke tilgængelig på dit sprog.

Symptoms

When you run a tableau generated Multidimensional Expressions (MDX) query with the NON EMPTY option and Query-Scoped calculated member in slicer in Microsoft SQL Server Analysis Services (SSAS), out of memory occurs and the query fails.

Resolution

This issue is fixed in the following cumulative updates for SQL Server:

       Cumulative Update 7 for SQL Server 2017

       Cumulative update 8 for SQL Server 2016 SP1

       Cumulative Update 11 for SQL Server 2014 SP2

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2017

Latest cumulative update for SQL Server 2016

Latest cumulative update for SQL Server 2014

More information

The following is the example query for this issue:

WITH 
MEMBER [Measures].[Test] AS 
CASE 
WHEN 
IsEmpty([Date].[Date].CurrentMember.MemberValue)
OR 
[Date].[Date].CurrentMember.MemberValue = NULL 
THEN NULL
ELSE 
Cdate([Date].[Date].CurrentMember.MemberValue)
END 
SELECT 
[Measures].[Internet Order Count] DIMENSION PROPERTIES [MEMBER_UNIQUE_NAME],[MEMBER_CAPTION] ON COLUMNS
,NON EMPTY [Date].[Fiscal].[Fiscal Year].ALLMEMBERS DIMENSION PROPERTIES [MEMBER_UNIQUE_NAME], [MEMBER_CAPTION] ON ROWS
FROM [Adventure Works]
WHERE 
StripCalculatedMembers
(
CrossJoin
(
{[Product].[Product Categories].[Subcategory].&[26]}
,Filter
(
[Date].[Date].[Date].ALLMEMBERS
,
[Measures].[Test] >= Cdate(40369) AND [Measures].[Test] <= Cdate(42735)
)
)
);

 

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminologythat Microsoft uses to describe software updates.

Har du brug for mere hjælp?

Vil du have flere indstillinger?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var disse oplysninger nyttige?

Hvad påvirkede din oplevelse?
Når du trykker på Send, bliver din feedback brugt til at forbedre Microsoft-produkter og -tjenester. Din it-administrator kan indsamle disse data. Erklæring om beskyttelse af personlige oplysninger.

Tak for din feedback!

×