MDX queries with calculated measure using the "/" operator run slowly in SSAS
This article helps you resolve the problem when a Multidimensional Expressions (MDX) query is executed with a calculated measure in SSAS 2016, 2017 and 2019 tabular instance.
Applies to: Analysis Services, SQL Server 2016, SQL Server 2019, SQL Server 2017 on Windows, Analysis Cubes
Original KB number: 4560494
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 memories 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.