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 / Remove Values from a T...
Power Apps
Answered

Remove Values from a Table

(0) ShareShare
ReportReport
Posted on by 221

Hi,

 

I am trying to remove specific number from unitNum.

JeffGimo_0-1604772553284.png

I have another table that has this numbers. I want to remove these numbers from unitNum variable.

Is that possible? I have tried looking for solutions but I can't find similar problems.

JeffGimo_1-1604772618166.png

Kind regards,

Jeff

 

Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @JeffGimo 
    The main issue here is you are storing values in a variable when they would be better off stored inside a collection.  To create a collection with the values "1" to "100" do this.

     

    ClearCollect(unitNUM, ForAll(Sequence(100), Text(Value)));

     

    Then to remove a specific number from unitNUM you can use this code.  In my example the number "45" is being removed.

     

    RemoveIf(unitNUM, Value="45")

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • JeffGimo Profile Picture
    221 on at

    Thank you so much this approach is much easier. Cheers!

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard