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 :
Finance | Project Operations, Human Resources, ...
Answered

Generating Electronic report from scratch and getting output in Excel

(0) ShareShare
ReportReport
Posted on by 35

Hi everyone,

     Subject: Electronic Report development from scratch

I have developed a report, in data source added a relevant table record, then binded it to the Data model designed to serve our purpose. then in the Format mapping, mapped the Data model to the Imported Excel sheet in the format designer. But the issue faced is: We are getting a one-liner report, picking up just the first record of the table....

Tried adding one node at a time in  the data model, still getting the same results.... I think, i might have missed out in designing a proper data model but not sure about it.... Any inputs would be very helpful.....

Thanks in advance...!!

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Good morning Radhika,

    Most of the time the issue here is that you bound the table to a 'record' element in your model. You need to bind it to a record list.

    You can find a couple of examples on my blog if you need to compare your model with something else.

    If this does not bring you forward then please be so kind and share some screenprints.

    Many thanks,

    Ludwig

  • Radhika M Profile Picture
    35 on at
    RE: Generating Electronic report from scratch and getting output in Excel

    As you said, I have binded the table to a record list and tried with only one field (Voucher number), still i am getting the same picture...

    Here are the screenshots:

    data model mapping:

    pastedimage1590570639852v2.png

    format mapping:

    pastedimage1590570519955v1.png

    result obtained:
    pastedimage1590570714089v3.png

    I am not sure what am i missing on..... it gets only one voucher number......
    Thanks :-)

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi Radhika, 

    You need a record list and a record element.

    Here is a simplified example for sales orders

    ereport.png

  • Radhika M Profile Picture
    35 on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi Ludwig, I did the same as per mentioned above, but still I am getting one-liner report. Please view the SS:
    pastedimage1590580091403v1.png

    The result obtained:
    pastedimage1590580126889v2.png
    Thanks

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi,

    In your first screenprint you show the withholding tax trans IN table.

    Did you add this one by selecting table or 'table records' from the data source type pane?

    How many records are currently included in this table?

    What do you see if you hit the validate button?

    Best regards,

    Ludwig

  • Radhika M Profile Picture
    35 on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi Ludwig,

    I have added the withholding tax trans as a Table record from the data source type pane. There are 16 records to be binded from this table 


    And when i validate it:zero errors / warnings found
    pastedimage1590585181739v1.png

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Is this the table that you selected?

    TaxWithholdingTaxRegistrationNumberStaging

    If you add the table one again, can you share a screenprint of the selection that you make?

  • Radhika M Profile Picture
    35 on at
    RE: Generating Electronic report from scratch and getting output in Excel

    HI Ludwig,

    These are the screenshots of adding as a root a table record 
    pastedimage1590642269245v1.png

    I have few things to ask:
    1. Its ok right if i make a excel file with all appropriate labels and not create them in Format designer?
    pastedimage1590642516371v2.png

    2. I tried using the calculated field and then binding it too....., even have put in the from and to date parameter, but getting the same result.....

    I referred to the blogs posted by you, they were pretty helpful... thank you :-)

  • Suggested answer
    Laura Manache Profile Picture
    on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi Radhika,

    From the images you shared it seems you are using an Excel template. Could you please double check if the correct data cell range is defined into Excel file template? Also, when uploading the custom template please make sure that the "Create Excel Sheet format element" option is enabled so that proper binded elements to be automatically created for the report output.

    With kind thoughts,

    Laura

  • Radhika M Profile Picture
    35 on at
    RE: Generating Electronic report from scratch and getting output in Excel

    Hi Laura,

        Thanks for the reply, I did enabled the toggle "Create Excel Sheet format element" while importing the custom format, Could you elaborate more on Excel file template please, maybe I am missing out there....??

    Thanks & regards

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,964

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 564 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans