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

Notifications

Announcements

No record found.

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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 700 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 567 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 408 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans