Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to use power automate to compare two columns in Sharepoint

(0) ShareShare
ReportReport
Posted on by 82

I want to compare two columns, Column A and Column B from a single sharepoint list and find out if the values in both of the columns are equal or not. I have using the Get Items sharepoint action to get all of the items in the list, after that I am using the Condition to compare two columns example. Column A is not equal to Column B. If the condition is true it sends an email but the condition is turning out false.


I am not sure what I am doing wrong. Please have a look at the screenshot

 

Screenshot 2022-08-30 at 2.44.52 PM.png

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: How to use power automate to compare two columns in Sharepoint

    Hi @Ameen1989 ,

     

    Could you please share more details about your scenario? What type are the two columns SPID and ASCS ID? Are they different types? I suspect the SPID column is of type text, while ASCS ID is of type number/GUID.

     

    Generally speaking, to test with the condition, you can restrict the inputs by using Filter query in the Get items action:

    vjefferni_0-1662014912845.png

     

    Then in the test run result, check the outputs on the popup screen, use Ctrl+F to search the column names as well as their values and check if they are exactly different:

    vjefferni_2-1662015193790.png

     

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow