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

How to export enum value in Excel using custom electronic reporting

(0) ShareShare
ReportReport
Posted on by 10

Hi All,

Can anyone help or provide a link, how to add or bind an Enum value or name in excel using electronic reporting report. Actually I want to create custom report (Excel) of Vendor transaction with enum value of transaction type.

Thanking you in advance.

Regards,

Vijay A Vishwakarma.

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,811 on at
    RE: How to export enum value in Excel using custom electronic reporting

    Hi Vijay,

    The following blog mentions CASE function, for each enum value, type in the value you want to display in your report.

    The formula is something like:

    CASE(@.’purchLine()’.’getItemType()’, Po_Line_Type.Item, “Stock”,Po_Line_Type.Service, “Service”)

    antoineabastian.wordpress.com/.../

  • JamesT Profile Picture
    341 on at
    RE: How to export enum value in Excel using custom electronic reporting

    Hi Vijay,

     

    I might have done something similar to what you are seeking (not 100% sure) for the Fixed Asset Roll forward report, which is also done via Electronic reporting and Excel format.

     

    The client wanted to show the FIXED ASSET STATUS in the report.

     

    However this is an ENUM field, so D365FO would allow me to just add the ENUM.  So I used a formula to convert to a STRING, and this worked for me.

    FAssetSTATUS: String = MID(TEXT(@.'>Relations'.AssetId.'book()'.Status),37,15)

    Maybe it might be a solution for you.

    Regards

    James

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 2,257

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 611 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans