How to view MDX query from Excel report

Hey guys,

I generated OLAP report from SQL Server Analysis server using Excel. When you are using Excel to generate a report from OLAP database, excel will take care of generating the required MDX query behind the scenes. That means you don't need to hand-write MDX queries yourself. So, my question is pretty simple, i.e. Is there a way to view the MDX query that is generated automatically by excel

Thank you for taking your precious time.

Sincerely,

Amde



Answer this question

How to view MDX query from Excel report

  • Ghost Assasin

    Please let me know if anyone have idea about this thing.

    sincerely,

    Amde


  • binarysins

    I really appreciate your response. Can you please tell me the step-by-step procedure to capture the MDX query generated by Excel

    Sincerely,

    Amde


  • VasudevaKumarAtukuri

    With AS 2005, you can use SQL Profiler to capture the MDX query generated by Excel:

    http://msdn2.microsoft.com/en-us/library/ms174779(SQL.90).aspx

    >>

    Introduction to Monitoring Analysis Services with SQL Server Profiler

    You can use SQL Server Profiler to monitor events generated by an instance of Microsoft SQL Server 2005 Analysis Services (SSAS). By using SQL Server Profiler, you can do the following:

    • Monitor the performance of an instance of Analysis Services.
    • Debug Multidimensional Expressions (MDX) statements.
    • Identify MDX statements that run slowly.

    >>



  • How to view MDX query from Excel report