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 / Calculate confidence s...
Power Automate
Answered

Calculate confidence score for matching string

(0) ShareShare
ReportReport
Posted on by 240

Hi Folks,

PFB, Attached is the screenshot!

 

I am trying to match string in A2 with B2 and find the matching confidence score in column C2. How can we perform this scenario in cloud flow?

PowerUser0_1-1661340887407.png

 

@ekarim2020 @abm 

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @PowerUser0 

     

    Didn't really understood with the sample given data? Could you please explain more?

     

    Thanks

  • PowerUser0 Profile Picture
    240 on at

    Hi @abm so there are two columns in the excel sheet right, for eg. I have to compare "(GMT+12:00) Fiji Time (Pacific/Fiji)" with "(GMT+12:00) Fiji Time (Fiji)" in both the strings, there is a difference of word Pacific, so I need to calculate how much percent it matched

    Examples are below:

    (GMT+03:00) Israel Daylight Time  (Asia/Jerusalem)(GMT+03:00) Israel Daylight Time (Asia/Jerusalem)98

    (GMT+05:30) India Standard Time  (Asia/Calcutta)(GMT+05:30) India Standard Time (Asia/Calcutta)97.92

    (GMT+08:00) Hong Kong Time  (Asia/Hong_Kong)(GMT+08:00) Hong Kong Time (Asia/Hong_Kong)97.73

    (GMT+08:00) Hong Kong Time  (Asia/Hong_Kong)(GMT+08:00) Hong Kong Time (Asia/Hong_Kong)97.73

    (GMT+12:00) Fiji Time  (Pacific/Fiji)(GMT+12:00) Fiji Time (Fiji)75.68

    (GMT+12:00) Fiji Time  (Pacific/Fiji)(GMT+12:00) Fiji Time (Fiji)75.68

    (GMT+12:00) Fiji Time  (Pacific/Fiji)(GMT+12:00) Fiji Time (Fiji)75.68

    (GMT-06:00) Mountain Daylight Time  (America/Denver)(GMT-06:00) Mountain Daylight Time (Denver)82.69

    (GMT-06:00) Mountain Daylight Time  (America/Denver)(GMT-06:00) Mountain Daylight Time (Denver)82.69

    (GMT-06:00) Mountain Daylight Time  (America/Denver)(GMT-06:00) Mountain Daylight Time (Denver)82.69

    (GMT-07:00) Pacific Daylight Time  (America/Tijuana)(GMT-07:00) Pacific Daylight Time (America/Tijuana)98.08

    (GMT-07:00) Pacific Daylight Time  (America/Tijuana)(GMT-07:00) Pacific Daylight Time (America/Tijuana)98.08

    (GMT-07:00) Pacific Daylight Time  (America/Tijuana)(GMT-07:00) Pacific Daylight Time (America/Tijuana)98.08

  • PowerUser0 Profile Picture
    240 on at

    @Hardesh15  @ScottShearer @ekarim2020  Please help me on this

  • Verified answer
    abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @PowerUser0 

     

    Thanks for the discussion. So here are the options:

     

    1. Use the flow length and substring expressions to do a comparison but it will be very slow for the overall execution.

    2. You could utilise C# or some other language to host an Azure function and call from flow using HTTP.

    3. Have a look on the AI builder.

     

    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard