Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Add new column to table A from Table B

(0) ShareShare
ReportReport
Posted on by 59

Hey, it has been a while that i haven't used Powerapps, so very RUSTY. I need to add a column from table A to Table B with a condition.

 

here is what i tried: 

AddColumns('PERSONEL PROPOSED', 'newcol', LookUp(CFT, CFT = 'PERSONEL PROPOSED'[@'CFT_ID: CFT']),ID)

Table B = 'PERSON PROPOSED'

Table A = CFT

i need to add the column in correctly, where CFT from table a is equal to 'CFT_ID: CFT' as table B as a lookup column of table A but problem of delegation.

 

Thanks helpers

Categories:
  • mmbr1606 Profile Picture
    12,104 Super User 2025 Season 1 on at
    Re: Add new column to table A from Table B

    hey @LoopinG2023 

     

    you can try this:

    AddColumns(
     'PERSONEL PROPOSED',
     "newcol",
     LookUp(
     CFT,
     CFT.ID = 'PERSONEL PROPOSED'[@'CFT_ID: CFT'],
     ID
     )
    )
    

     

    or this witha collection:

    ClearCollect(
     ColCFT,
     CFT
    );
    
    AddColumns(
     'PERSONEL PROPOSED',
     "newcol",
     LookUp(
     ColCFT,
     ID = 'PERSONEL PROPOSED'[@'CFT_ID: CFT'],
     ID
     )
    );
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard