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 Apps / Check to see if record...
Power Apps
Unanswered

Check to see if record exist by comparing of 2 SharePoint lists.

(0) ShareShare
ReportReport
Posted on by 114

Hello all,

I have a voting app for member to vote on their assigned books.  

The app data source connected to 2 SharePoint list, Members and Ballots.

----------------------------------------------

Columns in the Members list includes:

Full Name (Type: Text),

Book Title (Type: Text),

Book ID (Type: Text),

Email( Type: Text)

-------------------------------------------

Columns in the Ballots List includes: 

Full Name (Type: Text),

Book Title (Type: Text),

Book ID (Type: Text),

Email( Type: Text),

Design Score(1-4)  (Type: Choices),

Content Score (1-4) (Type: Choices),

Layout Score (1-4) (Type: Choices),

Story Score (1-4) (Type: Choices)

-----------------------------------------------

Once the member submitted the voting for his/her assigned book then a record will be created in the Ballots List.

What I am looking for is that once the member done voting ALL of his/her assigned books, drop down list for books choice should be disabled and a label test should be visible with a text  to let the member know that he/she already voted all the assigned books and he/she should click on the Voted Books button to go to the voted books screen for modification if needed.

I already have an edit form to show all the books were voted by a specific member and let the member choose the voted book and update the changes on that specific record if necessary.

The piece that I need and I am looking for help with is once the member done voting  all of his/her assigned books, the drop down list for books should be disabled and with a popup screen/label set to visible=true to let the member know that he/she already voted all the assigned books and the only choice he/she should have is to go to the voted books screen to modify/change.  Any suggestion is greatly appreciated.

Categories:
  • AsanKani Profile Picture
    710 on at

    Hi, @davidvo68 
    It's really simple,
    First of all i need some confirmation form your side,

     

    #1. Ballots List & Member list having below common column & after Voting store same member list data to Ballots list right ?

    • Full Name (Type: Text),
    • Book Title (Type: Text),
    • Book ID (Type: Text),
    • Email( Type: Text),

    #2. Share your screen view / design to easy understand (if possible, not necessary) 
    #3. what every you need to change or expected --> Share the coding with details of expecting thing.

    now, I am going to my point of understand and my suggestion
    1. Members only once voting for his/him assigned book

    So, you need to use like below coding in dropdown based on your need for 

    If(CountRows(Filter(BallotsList, Email=Office365Users.MyProfile().Mail && Book Title=Dropdown_Book Title.Selected.Title))=1,Disabled,Enabled) 

    I have mention above coding for one match record book voting. 

    I hope, You can use above condition method to resolved your problem. 

    Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

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 Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard