cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RitabPedrosa
Frequent Visitor

SharePoint Update Item - Split Function

Hi!!
Need some help 🙂

I have a SharePoint Table [Image 01] and I want to update the last 2 columns with 26/12/2020 and 31 (example)

Image 01.png

 

 

 

 




I made a test with ComposeSplit Function and the result was exacty what I need [Image 02]

       DataPresenca: Split(outputs('Compor_-_Teste_Data-IDLoja'),'-')[0]  -----> 26/12/2020
       ID_LojaPresenca: Split(outputs('Compor_-_Teste_Data-IDLoja'),'-')[1] ------> 31

 

Image 02.png

 

 

 

 

 

 








 

 

 

 

 


 

But I cant find the formula that update the information on SharePoint - Its always giving an error on the expression (split function is not valid)

    Slplit(items('Aplicar_a_cada')?['ID_LojaPresenca'],'-')[1]


Image 03.png

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @RitabPedrosa ,

you've got a typo in the expression you shared:

Slplit(items('Aplicar_a_cada')?['ID_LojaPresenca'],'-')[1]

Slplit -> Split

But if I understand your flow correctly you want to split ID_FolhaPresenca, not ID_LojaPresenca. ID_LojaPresenca seems like the SP column you want to update.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

2 REPLIES 2
tom_riha
Super User
Super User

Hello @RitabPedrosa ,

you've got a typo in the expression you shared:

Slplit(items('Aplicar_a_cada')?['ID_LojaPresenca'],'-')[1]

Slplit -> Split

But if I understand your flow correctly you want to split ID_FolhaPresenca, not ID_LojaPresenca. ID_LojaPresenca seems like the SP column you want to update.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Thanks!! 🙄  🤣

Helpful resources

Top Solution Authors
Users online (4,384)