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 / I want to join 3 tables
Power Apps
Answered

I want to join 3 tables

(0) ShareShare
ReportReport
Posted on by 12
//First, get the list of pic_name values from PIC_Pekerjaan where id_pekerjaan matches VarGalPaketPekerjaan.ID
Set(NewVar, Filter(PIC_Pekerjaans,ID_Pekerjaan.ID=VarGalPaketPekerjaan.ID).PIC_Name);

//Now, filter the Akuns data source to only include records where id is in varPICNames
Set(varFilteredAkuns,
        AddColumns(
                    Akuns,
                    FilteredPIC,
                    Filter(NewVar, Akuns[@IDAkun]=PIC_Name.IDAkun)));
 
 
what the first code does is get the list of pic_name values from PIC_Pekerjaan where id_pekerjaan matches VarGalPaketPekerjaan.ID the 2nd code is what got me confused, I want to get items from the Akuns table based on the first variable that i made, but what the 2nd code does is just get the whole akuns table without filtering anything. Any help would be appreciated
Categories:
  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @hudan ,

    try this:

    Set(varFilteredAkuns,
     AddColumns(
     Filter(
     Akuns,
     IDAkun in NewVar.ID
     ),
     FilteredPIC,
     Filter(NewVar, ID = IDAkun)
     )
    );
  • hudan Profile Picture
    12 on at

    Thank you so much

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard