Microsoft Dynamics 365 Blog

Recently we were having problems to get the Role Center up and running. Report Server is setup and working in a correct way. Most reports can be generated, but a few does not answer correct. For those report the following error is generated: “Query execution failed for data set ‘Company’” Reports in Role Center can not be accessed. Even those that default company was set in Business Connector Configuration Utility and on the connection tab correct AOS was set up we were still not able to make report working.
The root cause of this problem was that cubes in OLAP database DynamicsAX were not processed.
To solve the problem we were following WhitePapers which let us configure cubes and Role Center:

  1. The “Configure the Default OLAP Cubes” white paper and the cross-reference document are now available here:
  2. Microsoft Dynamics AX 2009 White Paper: Configuring Kerberos Authentication with Role Centers:
  3. Microsoft Dynamics AX 2009 White Paper: Configuring Enterprise Portal and Role Centers with SQL Reporting
  4. Fixing Microsoft Dynamics AX Cube Processing Errors Caused by EDT Field Changes:

The way how we troubleshoot the problem was following. We had problem with report ProjUtilizationEffeciencyEmpl.

Report ProjUtilizationEffeciencyEmpl is based on Project Accounting Cube.

If Company data set cannot be processed it seems there is something wrong with this cube. Company data set is called with following query:

MEMBER [Measures].[ParameterCaption] AS ‘[Company].[Company accounts].CURRENTMEMBER.MEMBER_CAPTION’
MEMBER [Measures].[ParameterValue] AS ‘[Company].[Company accounts].CURRENTMEMBER.UNIQUENAME’
MEMBER [Measures].[Key] AS ‘[Company].[Company accounts].CURRENTMEMBER.Properties("Key")’
SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[Key] } ON COLUMNS , Except([Company].[Company accounts].MEMBERS, {[Company].[Company accounts].[All], [Company].[Company accounts].[Unknown]})
ON ROWS FROM [Project Accounting Cube]

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!