cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClaireAllen
Post Prodigy
Post Prodigy

Concat or Concatenate Columns from SharePoint

Hello Community,
Can you help please

 

I have a SharePoint Form1 that is customized from a SharePoint List, the default mode is New.

I then have a second screen, default mode is View, the Items property is SharePointForm1.Updates.

 

I have a calculated column in my SharePoint list, but at the data has not yet been submitted back to the SharePoint List, I want to be able to show a Label on the View Form of the Calculated column before hand.

What I am trying to do is display the label as followings, which is the calculation column in my SharePoint List
These are the Column Headings

CustomerSiteID-Discipline-DocType-SequentialNumber-SheetNo

ClaireAllen_0-1631188078341.png

 



Any ideas how I can combine all information from each column in the format required, so that the end result would be from the image
ADIDAS-1-CE-DET-0001-1

Thank you in advance for any suggestions
Kind regards
Claire

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @ClaireAllen ,

 

If DataCardValue.SelectedItems.Values.CustomerSiteID gives you the value please try to use it. 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

4 REPLIES 4
PG_WorXz10
Community Champion
Community Champion

Hi @ClaireAllen ,

 

I need more details here. If you have any selected item value please replace the column value with Selecteditem name. 

 

Concatenate(
YourSelecteditem.CustomerSiteID,"-",YourSelecteditem.Discipline,"-",YourSelecteditem.DocType,"-",YourSelecteditem.SequentialNumber,"-",YourSelecteditem.SheetNo)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

@PG_WorXz10 ,

If I understand your question correctly, 
some of my columns are choices so I think that's a yes to selected item value

Do I select the DataCardValue.SelectedItems.Values.CustomerSiteID for example?
Customer Site ID, Discipline & Doc Type are all choice fields, the others are text fields

Thank you & regards

Claire

Hi @ClaireAllen ,

 

If DataCardValue.SelectedItems.Values.CustomerSiteID gives you the value please try to use it. 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

@PG_WorXz10 
Thank you for the info
The DataCardValue just needed the Selected.Value as mentioned and not the SelectedItems.Value

All Good
Claire

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (3,863)