Urgent question nonempty giving empty rows in new cube but not in old cube

  • Hi all,

    The query below works in cube A. I'm aligning my current repots with my new cube which is exactly the same but with some different namings.

    WITH

    MEMBER [Measures].[ParameterCaption] AS

    [Product].[Product].CURRENTMEMBER.MEMBER_CAPTION

    MEMBER [Measures].[ParameterValue] AS

    [Product].[Product].CURRENTMEMBER.UNIQUENAME MEMBER

    [Measures].[ParameterLevel] AS

    [Product].[Product].CURRENTMEMBER.LEVEL.ORDINAL

    SELECT

    {

    [Measures].[ParameterCaption],

    [Measures].[ParameterValue],

    [Measures].[ParameterLevel]

    } ON COLUMNS,

    NonEmpty(

    [Product].[Product].ALLMEMBERS,

    NonEmpty(

    [Draw].[Draw calendar - Week].[Draw date],

    {[Measures].[Sales amount - vouchers]}

    )

    )

    ON ROWS

    FROM

    [New Cube]

    The query above works for my old cube and also works in my new cube if I take the nonempty separatly. That is if I take nonempty(products, sales) or nonempty(draw date, sales). When I combine both like above it gives me no results.

    Anyone has an idea what might cause this?

    Thanks!

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply