web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / RemoveIf and UpdateIf ...
Power Apps
Unanswered

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?

I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard