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

Announcements

News and Announcements icon
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)
  • JamesT Profile Picture
    341 on at

    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

  • Verified answer
    huijij Profile Picture
    19,813 on at

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 385 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 270

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans