MDX QUERY

  • I am trying to write a query in MDXwhere i have to combine results of 2 MDX query into one

    query goes like this

    With Measure Measures.A as '.....'

    select Measure.A on columns,

    dimension.DIM_1 on rows

    from MYCUBE

    With Measure Measures.A as '.....'

    select Measure.A on columns,

    dimension.DIM_2 on rows

    from MYCUBE

    is there any way to combine the result of these 2 queries in to one

    i tried using UNION but in tht it requires same dimesnion in both the queries (if m not wrong)

    plz help me out in this

    Mohammed Imtiaz

  • Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic634841-17-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

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