web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract all dollar amo...
Power Automate
Answered

Extract all dollar amounts from text string

(0) ShareShare
ReportReport
Posted on by 20
  1. When receiving a new answer on a form, I would like to extract all dollar amounts from the multiple choice question. Then I want to sum those amounts and save the total it in a column of a sharepoint list

 

Specifically:

Question #16, multiple selection, asks to select books and each one includes its cost.

The resulting string for that question is as follows:

 

Savia Sociales 2 (Precio: $66.95);Savia Sociales-Cuaderno 2 (Precio: $29.95);Savia Ciencias 2 (Inglés) (Precio: $66.95);Con Buena Letra 2 (Precio: $21.60);Mi Primer Libro de Teoría y Solfeo Vol. 1 ($33.44);

 

I want to extract all prices $ and save the sum of all in a sharepoint item.

 

How can I do this?

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at
  • VictorIvanidze Profile Picture
    13,079 on at

    Just parse a string.

  • keylama Profile Picture
    20 on at

    @v-bacao-msft 

    Thanks for the reply. I've done this before.  My question comes specifically on how I get all amounts if I don't know how many they are.

     

    If I misunderstood, my apologies.

     

    Appreciated

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @keylama ,

     

    If these numbers are enclosed in parentheses and separated by semicolons, then you can use them as split points and then extract them. Even if the number of them is not determined, it does not affect the use of the Split() function. In fact, this is no different from the method mentioned in the links I provided. Find the split point, and then extract the data.

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard