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 :
Small and medium business | Business Central, N...
Suggested Answer

P&L report in business central

(0) ShareShare
ReportReport
Posted on by 2,116

Hi All,

How to create P&L [Proft and Loss] report in business central? with dimension filter.

I have the same question (1)
  • Suggested answer
    Bilal Haider Profile Picture
    442 on at

    Hi,

    You can try to use Financial Reports (called Account Schedules in NAV) for P/L report with Dimension filter.  

    You do not need any development for that.

  • Suggested answer
    Bilal Haider Profile Picture
    442 on at

    You can use this tutorial and learning path,

    learn.microsoft.com/.../

  • Inkey Solutions Profile Picture
    2,116 on at

    raibilalhaider , Hi

    Could you please send me any reference link of how to create financial reports in BC?

    Thank you.

  • Suggested answer
    Ahmed Mohamed Rafik Profile Picture
    3,049 User Group Leader on at

    You can use the predefined account schedule reports that are already defined in General Ledger Setup.

    But first, you can easily set up the required accounts by using the Account Category and Sub Category.

    1- Go to G/L Accounts.

    2- Define the Category and Sub Category of every profit and loss account.

    3- Go to the Account Categories page.

    4-  Click on Generate Account Schedule to update the existing Income Statement in Account Schedule.

    5- Go to the defined account schedule "Income"

    6- View Report.

    If you find this information helpful, Click Yes to verify the answer to share with other community members

  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at

    hi

    you can follow these steps:

    Open the Business Central development environment and create a new report.

    In the report layout, add the relevant columns for your P&L report. These typically include revenue, cost of goods sold, gross profit, operating expenses, and net income.

    Next, add filters to the report for the relevant dimensions. For example, if you want to filter the report by department, you can add a filter for the "Department Code" dimension.

    Use the "DataItemTableView" property to link the report to the relevant table(s) in Business Central. For a P&L report, you may need to link to tables such as "General Ledger Entries" and "Accounts."

    Use the "SetRange" method to apply the dimension filter to the report. For example, if you want to filter the report by a specific department, you can use the "SetRange" method to specify the "Department Code" dimension and the value you want to filter on.

    Finally, run the report to view the results with the dimension filter applied.

    example:

    // Set up a filter for the Department Code dimension

    MyFilter.SETRANGE("Dimension Code",DIMENSION::"Department Code");

    MyFilter.SETRANGE("Code", '001'); // Replace with your desired department code

    // Link to the General Ledger Entries table and filter by the dimension

    DataItemTableView = GeneralLedgerEntries;

    DataItemTableView.SETRANGE(GENERALLEDGERENTRIES."Dimension Set ID",DIMENSION::"My Dimension Set ID");

    DataItemTableView.SETFILTER(GENERALLEDGERENTRIES."Dimension Value Code",MyFilter);

    // Add the relevant columns to the report layout

    the exact code may vary depending on the specific dimensions and tables you are using in your report. You may also need to adjust the code to handle multiple dimension filters, if needed.

    DAniele

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans