Skip to main content
Answer

Display multiple attributes in one field - Report Designer

  • May 9, 2023
  • 4 replies
  • 253 views

dpruckus
Freshman I
Forum|alt.badge.img

Hello. Im trying to display multiple attributes (values) in one field on the report. Cant seem to make it work. Any idea?

=[POLine.ProjectID] & [PMProject.AttributeProjectID]

Best answer by Robert Sternberg

I like to use the Concat function as it is more clear when viewing in the value property moving forward.  The + sign will also work.  

 

Here is a full function for the results. 

=Concat([POLine.ProjectID], [PMProject.AttributeProjectID])

You can also modify this by using different values in the arguments of concat. 

=Concat([POLine.ProjectID], ‘-’, [PMProject.AttributeProjectID])

=Concat([POLine.ProjectID], ‘ ‘, [PMProject.AttributeProjectID])

=Concat(‘PROJECT: ‘, [POLine.ProjectID], ‘PROJECT ATTRIBUTE: ‘, [PMProject.AttributeProjectID])

 

4 replies

Laura03
Captain II
Forum|alt.badge.img+19
  • Captain II
  • May 9, 2023

Hello, Did you try + or comma ,  instead of & sign?


Robert Sternberg
Captain II
Forum|alt.badge.img+7

I like to use the Concat function as it is more clear when viewing in the value property moving forward.  The + sign will also work.  

 

Here is a full function for the results. 

=Concat([POLine.ProjectID], [PMProject.AttributeProjectID])

You can also modify this by using different values in the arguments of concat. 

=Concat([POLine.ProjectID], ‘-’, [PMProject.AttributeProjectID])

=Concat([POLine.ProjectID], ‘ ‘, [PMProject.AttributeProjectID])

=Concat(‘PROJECT: ‘, [POLine.ProjectID], ‘PROJECT ATTRIBUTE: ‘, [PMProject.AttributeProjectID])

 


dpruckus
Freshman I
Forum|alt.badge.img
  • Author
  • Freshman I
  • May 9, 2023

I like to use the Concat function as it is more clear when viewing in the value property moving forward.  The + sign will also work.  

 

Here is a full function for the results. 

=Concat([POLine.ProjectID], [PMProject.AttributeProjectID])

You can also modify this by using different values in the arguments of concat. 

=Concat([POLine.ProjectID], ‘-’, [PMProject.AttributeProjectID])

=Concat([POLine.ProjectID], ‘ ‘, [PMProject.AttributeProjectID])

=Concat(‘PROJECT: ‘, [POLine.ProjectID], ‘PROJECT ATTRIBUTE: ‘, [PMProject.AttributeProjectID])

 

Great! That worked!


Robert Sternberg
Captain II
Forum|alt.badge.img+7

@dpruckus Great news!