To share the data cache, an OLAP cube must be configured so that members of the same security role all see the same data. A Multidimensional Expression (MDX) expression may contain items that cause the data results to depend on the user who is currently requesting the data. When this scenario occurs, Analysis Services data cache sharing with Excel Calculation Services does not work correctly.
The following list contains some of the items that can cause data results from an MDX expression to depend on the user who is currently requesting the data:
- The UserName function
- The LookupCube function
- Stored procedures
- User-defined functions (UDFs) that do not call Visual Basic for Applications (VBA) code