cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cesc
Frequent Visitor

Removing completed records

Hi

I have a power app that contains records of activities done/completed. The activities are represent by icons in request circles. So what happens is when each of those activities are completed from other apps, the request circle fill property changes the color from white to green. What i want is when all the request circles turn green, the record should drop off from the power app as it has completed it's activities. To be clear, for example, when a person completes background check, the request circle for background check changes to green, when he has been assigned a staff number, the request circle changes to green etc, as soon as the last one changes to green, I want the record not to still be in the app since i have completed everything about that record. Anyone has an idea how to go about this?

2 REPLIES 2
zmansuri
Super User
Super User

How are you displaying your data? Share some pics.

Anonymous
Not applicable

There's multiple ways to do this. 

You can set a percent field splitted into the number of task you have and increase the percent value when you finish a task like 20%+20%....... Until 100%.

 

Do you want to hide the record from a grid or delete it definitively? 

To delete definitively you must use if(recordItem.percentvalue="100%";Remove(recordItem))

 

To hide a record from gallery just use filter like 

Filter(sourceconnection;percentvalue<100%)

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,307)