<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=612681139262614&amp;ev=PageView&amp;noscript=1">
Skip to content

Need help? Talk to an expert: phone(904) 638-5743

Deleting Is Scary

Deleting Is Scary

deleting records in powerbi

While doing Power Apps training with Pragmatic Works, I usually have a common request after students learn they can delete records.  Someone will usually state they like the usability of the delete function, but are scared to put a delete button on the screen.  Their concern is someone will hit it by mistake and then the record will be gone forever.  

There are a few ways to fix this issue.  The method I showcase here will show how you can activate a pop-up screen that overlays your original screen.  This method is not just useful for delete confirmations, but anytime you want to show extra information on your screen without being taken to a new screen.

 To achieve our solution today we will need to meet the following objectives:

 Create the pop-up screen and all of its components, then GROUP them together

Use the function UpdateContext to temporarily create a variable to hold a piece of information, which in our case will be true or false.

 Place the variable for the visibility property on our pop up screen

For the OnVisible property of our screen, we will have the variable declared as false

To see all these steps in action check out this demo.

Sign-up now and get instant access

Leave a comment

Free Trial

On-demand learning

Most Recent

private training

Hackathons, enterprise training, virtual monitoring