FIX: MDX queries with calculated measure using the "/" operator run slow in SSAS

Applies to: Analysis ServicesSQL Server 2016SQL Server 2019

Symptoms


When a Multidimensional Expressions (MDX) query is executed with a calculated measure in SSAS 2016, 2017 and 2019 tabular instance, the calculated measure runs slow and consumes lots of memory if it uses the  "/" operator. 

Cause


An improved DIVIDE function allowing faster performance is available in both MDX and DAX. ​

Resolution


Use the DIVIDE function instead of the  "/" operator in the calculation. 

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 terminology that Microsoft uses to describe software updates.