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 / RemoveIf and UpdateIf ...
Power Apps
Answered

RemoveIf and UpdateIf not working with CDS LookUp field and variable

(1) ShareShare
ReportReport
Posted on by 253

I have seen a few posts about this but nothing answers it properly.

 

I am trying to do a RemoveIf (and have previously tried UpdateIf) by using a variable as the right hand side of the code. I don't get any errors but it just doesn't remove anything from the source.

 

Has anybody managed to get this working?

Capture.PNG
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @sammybridge ,

     

    Your formula doesn't make sense. Please modify as below:

    RemoveIf('NPI Profit and Losses', GUIDField in Filter('NPI Profit and Losses',ID.IDNew=NPlidvar).GUIDField)

    Hope this helps.

    Sik

  • sammybridge Profile Picture
    253 on at

    Hi @v-siky-msft 

     

    Thanks for getting back to me. What do you mean when you say GUIDField?

     

    Thanks

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @sammybridge ,

     

    GUIDField is a Field with Unique Identifier, which is unique index of the record generally. It is a default system field and can avoid errors caused by the same value.

    For example: Account is the GUID field in Account Entity

    Snipaste_2020-06-03_15-48-58.png

    Sik

  • sammybridge Profile Picture
    253 on at

    Thank you this has worked perfectly

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard