Extracting MDX code from browsed cube in BIDS

  • Is there a way to extract MDX code which makes up the values from a cube which one is browsing (displaying measured and dimensional values) in the BIDS environment?

    Also how (if it can be done) does one save MDX code (i.e. like SP type fashion in T-SQL.) to reuse for extracting cube data?

    Yes I am new to MDX and SSAS. Trying to fast track my learning.

    Thanks in advance for any help.

  • Use SQL Server profiler and connect to analysis services trace. You will get MDX code.

  • Hi Amit,

    How exactly do I extract the MDX code from the SQL Profiler.

    Thanks,

  • In Profiler, Query Begin and Query End Event Class will show you MDX in Text Data.

  • Thanks I have so much too learn.

    Thanks again.

Viewing 5 posts - 1 through 4 (of 4 total)

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