cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gorilla_8
Super User
Super User

CONCATENATE SEVERAL CONNECTED FIELDS INTO ANOTHER LIST

What I need to do is concatenate a secondary list into a dropdown field

 

The fields are:

ID (SharePoint ID)
Status (Choice)
Area (Choice)
Creation date (SharePoint Standard)
Description (Multiple lines)

 

Would you like to limit the description field to only appear 80 characters?


My code here:

Concat(SecondaryDatabase
; Concatenate(Text(Value("ID"));Status.Value;Area.Value;Details;Created;","))

 

4 REPLIES 4
Nate-PTTP
New Member

you should be separating each value in your concatenate formula with a comma instead of a semi-colon. also, with concatenate, you also should probably separate each value with something so that it is easier to read. 

 

last thing.... the formula you have (once fixed with the above suggestions), is going to yield a text value. Dropdowns require a table, so you should also nest the entire formula with a Split(text,";") formula.... try the below and see if it works...

 

Split(Concat(SecondaryDatabase,Concatenate(Text(Value("ID")),",",Status.Value,",",Area.Value,",",Details,",",Created,",")),";"),";")

 

Gorilla_8
Super User
Super User

@Nate-PTTP 

 

Hi, thanks for the help!

Here, I tried this code and got an error...

 

Concatenate function has invalid arguments

 

The screenshot:

 

Gorilla_8_0-1612448622422.png

 

Nate-PTTP
New Member

question.... it looks like you are working in a different geographic location from me.... does Power Apps in your country require you to separate the values with ";" instead of ","? it is a comma in the US, but perhaps where you are requires a semi-colon?

 

Based on the screenshot you shared, it seems the Criado field is incorrect..... perhaps it is called something else in your datasource like 'CreatedDateTime" or created.value or something?.... seems as though that field is what isnt working properly in your formula.

 

 

Gorilla_8
Super User
Super User

@Nate-PTTP 

 

it looks like you are working in a different geographic location from me.... does Power Apps in your country require you to separate the values with ";" instead of ","? it is a comma in the US, but perhaps where you are requires a semi-colon?

Answer: yes, here we use ";", its different, I know! haha

Based on the screenshot you shared, it seems the Criado field is incorrect..... perhaps it is called something else in your datasource like 'CreatedDateTime" or created.value or something?.... seems as though that field is what isnt working properly in your formula.

 

Answer: "Criado" is incorrect... But if I put here on PowerApps, doesn't call here! If I remove the field? 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,487)