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 / Connecting two sharepo...
Power Apps
Answered

Connecting two sharepoint lists

(0) ShareShare
ReportReport
Posted on by 19

Hello Everyone, Please I am facing some difficulty with this and would really appreciate it if someone could help me. 

I am creating an app that validates students scores. List A is my validation list that gets populated by lookup. My app contains combobox for studentsnames, testsubject and testscores.

 

I have three sharepoint lists. A, B and C. I have a lookup column in A for B and a lookup colum in A for C. 

LIST A

  
   

StudentNames

TestSubject

TestScores

lookup (listB)

lookup (listc)

lookup (listc)

LIST B
 
StudentNames
Jess
Ridi
Rucki
Beni
Shad
Pet
Luka
  

List C

      
         

TestSubject

testscore

 

Jess

Ridi

Rucki

Beni

Shad

Pet

Luka

English

10

ViviQueen_52-1669801887579.png

 

 ViviQueen_53-1669801887579.png

 

 ViviQueen_54-1669801887579.png

 

ViviQueen_55-1669801887579.png

 

 

Maths

11

 ViviQueen_56-1669801887580.png

 

 ViviQueen_57-1669801887580.png

 

ViviQueen_58-1669801887580.png

 

 ViviQueen_59-1669801887580.png

 

Chemistry

12

ViviQueen_60-1669801887580.png

 

ViviQueen_61-1669801887580.png

ViviQueen_60-1669801887580.png

 

ViviQueen_62-1669801887581.png

 

ViviQueen_60-1669801887580.pngViviQueen_60-1669801887580.png  

History

15

 ViviQueen_63-1669801887581.png

 

 ViviQueen_64-1669801887581.png

 

 ViviQueen_65-1669801887581.png

 

ViviQueen_66-1669801887581.png

 

Biology

18

ViviQueen_67-1669801887581.png

 

 ViviQueen_68-1669801887581.png

 

ViviQueen_69-1669801887582.png

 

   

Arts

25

  ViviQueen_70-1669801887582.png

ViviQueen_60-1669801887580.png

 

  ViviQueen_71-1669801887582.png

 

ViviQueen_72-1669801887582.png

 

 

I want to populate combobox List C with Jess's test subjects if I select her name from combobox List B in my powerapps form

Please can anyone help me? I  am really stuck here and would appreciate any help. 

 

This is my code but it is not working. I am new in powerapps.

Filter(Choices([@A].StudentName), Value in Filter(ListC], TestSubject=DataCardValue2(Jess).Selected.Value),TestSubject)

 

I also tried this:  Filter(Choices([@A].StudentName), Value in Filter(ListC], DataCardValue2(Jess).Selected.Result && true),TestSubject)

It showed no error but the combobox does not display any values.

Please find attached an excel copy of the three sharepoint lists.

 

 Thanks in advance. 

 

Categories:
I have the same question (0)
  • ViviQueen Profile Picture
    19 on at

    Here is what my sharepoint looks like.

  • Verified answer
    ViviQueen Profile Picture
    19 on at

    Sadly no one was able to help with my challenge. I was able to solve it. so for anyone who has the same issue here is the code I did to solve it. I created a column called 'Students' in List C containing the names of all the students according to their subjects and testscores

     

    Filter(Choices([@A].TestSubject), Value in Filter([@C],Students=DataCardValue of StudentName in B.Selected.Result).TestSubject)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 400 Most Valuable Professional

#2
11manish Profile Picture

11manish 141 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard