Anyone know a code to switch the Portfolio ID from a number to a name in a report? | Community
Skip to main content
JustinWa2
Level 4
March 6, 2024
Solved

Anyone know a code to switch the Portfolio ID from a number to a name in a report?

  • March 6, 2024
  • 1 reply
  • 636 views

Hello!

 

Need to switch the Portfolio ID from a number to a name in a report, anyone have an idea how to do it?

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Seanna_Hdz

Switching the Portfolio ID from a number to a name can be achieved through text mode. When editing the report, do the following:

  • Select the column you want to modify, in this case Portfolio ID.
  • In the upper right of the screen, locate and click Switch to Text Mode.
  • Once in Text Mode, you will see various lines of code in the middle section of the screen.
  • Click anywhere in this area to open the Text Mode window. 
  • In the Text Mode window, locate the line of code valuefield=portfolioID
  • Change the line of code to be valuefield=portfolio:name
  • Save changes.

The assumption here is that there is a column on the report that is pulling directly from the Portfolio ID field. If Portfolio ID is referenced in any calculations, the way to change it from the ID to the name varies but is still mostly done in text mode. 

 

I hope this helps!

1 reply

Seanna_Hdz
Seanna_HdzAccepted solution
Level 2
March 7, 2024

Switching the Portfolio ID from a number to a name can be achieved through text mode. When editing the report, do the following:

  • Select the column you want to modify, in this case Portfolio ID.
  • In the upper right of the screen, locate and click Switch to Text Mode.
  • Once in Text Mode, you will see various lines of code in the middle section of the screen.
  • Click anywhere in this area to open the Text Mode window. 
  • In the Text Mode window, locate the line of code valuefield=portfolioID
  • Change the line of code to be valuefield=portfolio:name
  • Save changes.

The assumption here is that there is a column on the report that is pulling directly from the Portfolio ID field. If Portfolio ID is referenced in any calculations, the way to change it from the ID to the name varies but is still mostly done in text mode. 

 

I hope this helps!