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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Columns customization in Excel Report

(0) ShareShare
ReportReport
Posted on by 94

Hi Guys,

I want to make an excel report,

For e.g.  I have two columns i.e Type and Vendor Name, if my Type is the same i.e. Item then I want to show each vendor name display in three different columns in excel report as per the below image.

pastedimage1679470663145v1.png

Let me know if there are any ways to do this.

I have the same question (0)
  • Suggested answer
    AbhinavMehra Profile Picture
    364 on at
    RE: Columns customization in Excel Report

    Hi,

    For this you need to contact your partner to build Report where he can use matrix concept for dynamic Vendor name and group by Type.

    You need to provide more details to them like from which table to you want to get data also.

  • Prathama Profile Picture
    94 on at
    RE: Columns customization in Excel Report

    I have to Develop it, how can I do it.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    RE: Columns customization in Excel Report

    What is the figure you want to display under each vendor name?

  • Hein Kruger Profile Picture
    629 on at
    RE: Columns customization in Excel Report

    Hi,

    You can do this by creating a report as normal, Set ProcessingOnly =True.

    Create a Header and Body Procedure:
    pastedimage1679851257456v1.png

    pastedimage1679851272762v2.png

    add a "CreateExcelWorkbook" procedure:

    pastedimage1679851330240v3.png

    add CreateExcelBook Procedure to OnPostReport Method.
    Add MakeHeader() to OnPreReport()
    Add MakeBody() to the OnAfterGetRecord of the DataItem that will be the repeater. (Like Sales line)


    How it works:
    The TempExcelBuffer Table is built first. After the report has run the Excel Worksheet is created and the TempExcelBuffer data is added to the Workbook. 
    You Should be able to get your result by playing around with the data items and adding more procedures.



  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    RE: Columns customization in Excel Report

    Hi, After setting the required data in Dataitem, I think it should be possible to use Excel formulas.

    Here is a simple example, hope this can give you some hints.

    https://yzhums.com/23873/

    Thanks.

    ZHU

  • Prathama Profile Picture
    94 on at
    RE: Columns customization in Excel Report

    I want to display 'Price' from my customization page under each vendor name.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans