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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how do I find the "SQL query" for a gp report in report designer

(0) ShareShare
ReportReport
Posted on by 40

the report test for robm is what I am looking for , ideally the sql , so i can recreate this in ssrs

4532.gp.png

Categories:
I have the same question (0)
  • Carlsen2121 Profile Picture
    30 on at

    PaybyPlateMa Invoice

    Method 1: SQL Query Analyzer
    Click Start, point to All Programs, point to Microsoft SQL Server, and then click Query Analyzer.

    In the Connect to SQL Server dialog box, enter the sa user name and password, and then click OK.

    Click Query, and then click Results to File.

    Enter and then execute the SQL statement.

    In the Save Results dialog box, specify the following settings:

    Save In: Select a directory in which to save the file.

    File Name: Type a name for the file.

    Save as type: Report Files (*.rpt or *.csv)

    Click Save.

  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    There's not a way to do that, that I'm aware, such as getting a query to pull data that a MR report is using, to then use it to setup a SSRS report or something along those lines.

    You could maybe look at a SQL profiler trace when running a report from MR to see what that shows. If using legacy you might see queries that you could use, but if using data mart, less likely.

    That being said, I'm not sure either would show you anything useful.

    Maybe others in the community have something they have done or used?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans