web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cube report process error

(0) ShareShare
ReportReport
Posted on by 364

Hello Friends,

Am getting the following error while processing cube report

Warehouse dimension

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTLOCATIONEXPANDED', Column: 'DATAAREAID', Value: 'dec'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Warehouses from Database: Dynamics AX initial, Record: 4.

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTLOCATIONEXPANDED', Column: 'DATAAREAID', Value: 'nil'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Warehouses from Database: Dynamics AX initial, Record: 7.

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTLOCATIONEXPANDED', Column: 'DATAAREAID', Value: 'laz'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Warehouses from Database: Dynamics AX initial, Record: 5.

Product dimension


Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTTABLEEXPANDED', Column: 'DATAAREAID', Value: 'nil'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Released products from Database: Dynamics AX initial, Record: 5.

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTTABLEEXPANDED', Column: 'DATAAREAID', Value: 'laz'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Released products from Database: Dynamics AX initial, Record: 6.

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'INVENTTABLEEXPANDED', Column: 'DATAAREAID', Value: 'dec'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Released products from Database: Dynamics AX initial, Record: 7.

Resource dimension


Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'WRKCTRTABLEEXPANDED', Column: 'DATAAREAID', Value: 'laz'. The attribute is 'DATAAREAID'. Errors in the OLAP storage engine: The record was skipped because the attribute key is a duplicate. Attribute: DATAAREAID of Dimension: Resources from Database: Dynamics AX initial, Record: 3.

can anyone suggest me what is the issue.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Audai Jawasreh Profile Picture
    210 on at

    You can edit the query from

    SELECT NAME, INVENTLOCATIONTYPE, INVENTLOCATIONID, INVENTSITEID, DATAAREAID, PARTITION, RECID, INVENTLOCATIONID AS INVENTLOCATIONID_NAMECOLUMN, DATAAREAID AS DATAAREAID_NAMECOLUMN,
    0 AS BI_ISNOTAPPLICABLE
    FROM INVENTLOCATIONEXPANDED
    WHERE (PARTITION = 5637144576)
    UNION ALL
    SELECT NOTAPPLICABLE.NAME, NOTAPPLICABLE.INVENTLOCATIONTYPE, NOTAPPLICABLE.INVENTLOCATIONID, NOTAPPLICABLE.INVENTSITEID, KEYCOLUMNS.DATAAREAID, NOTAPPLICABLE.PARTITION,
    NOTAPPLICABLE.RECID, NOTAPPLICABLE.INVENTLOCATIONID_NAMECOLUMN, NOTAPPLICABLE.DATAAREAID_NAMECOLUMN, 1 AS BI_ISNOTAPPLICABLE
    FROM (SELECT DISTINCT DATAAREAID
    FROM INVENTLOCATIONEXPANDED AS INVENTLOCATIONEXPANDED_1
    WHERE (PARTITION = 5637144576)) AS KEYCOLUMNS CROSS JOIN
    (SELECT CAST(N'N/A' AS NVARCHAR(3)) AS NAME, NULL AS INVENTLOCATIONTYPE, '' AS INVENTLOCATIONID, CAST(N'N/A' AS NVARCHAR(3)) AS INVENTSITEID, 0 AS PARTITION, 0 AS RECID,
    CAST(N'N/A' AS NVARCHAR(3)) AS INVENTLOCATIONID_NAMECOLUMN, CAST(N'N/A' AS NVARCHAR(3)) AS DATAAREAID_NAMECOLUMN, 1 AS BI_ISNOTAPPLICABLE) AS NOTAPPLICABLE

    to be like this

    SELECT NAME, INVENTLOCATIONTYPE, INVENTLOCATIONID, INVENTSITEID, DATAAREAID, PARTITION, RECID, INVENTLOCATIONID AS INVENTLOCATIONID_NAMECOLUMN, DATAAREAID AS DATAAREAID_NAMECOLUMN,
    0 AS BI_ISNOTAPPLICABLE
    FROM INVENTLOCATIONEXPANDED
    WHERE (PARTITION = 5637144576)
    UNION ALL
    SELECT NOTAPPLICABLE.NAME, NOTAPPLICABLE.INVENTLOCATIONTYPE, NOTAPPLICABLE.INVENTLOCATIONID, NOTAPPLICABLE.INVENTSITEID, KEYCOLUMNS.DATAAREAID, NOTAPPLICABLE.PARTITION,
    NOTAPPLICABLE.RECID, NOTAPPLICABLE.INVENTLOCATIONID_NAMECOLUMN, NOTAPPLICABLE.DATAAREAID_NAMECOLUMN, 1 AS BI_ISNOTAPPLICABLE
    FROM (SELECT DISTINCT DATAAREAID
    FROM INVENTLOCATIONEXPANDED AS INVENTLOCATIONEXPANDED_1
    WHERE (PARTITION = 5637144576)) AS KEYCOLUMNS CROSS JOIN
    (SELECT CAST(N'N/A' AS NVARCHAR(3)) AS NAME, NULL AS INVENTLOCATIONTYPE, '' AS INVENTLOCATIONID, CAST(N'N/A' AS NVARCHAR(3)) AS INVENTSITEID, 0 AS PARTITION, 0 AS RECID,
    CAST(N'N/A' AS NVARCHAR(3)) AS INVENTLOCATIONID_NAMECOLUMN, CAST(N'N/A' AS NVARCHAR(3)) AS DATAAREAID_NAMECOLUMN, 1 AS BI_ISNOTAPPLICABLE) AS NOTAPPLICABLE  WHERE NOTAPPLICABLE.NAME !='N/A'

    so we add in the end of the query

    WHERE NOTAPPLICABLE.NAME !='N/A'

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans