Skip to main content

Let's Build a Power App Session 4: Sorting Search Results, Adding Screens, and Deleting Records

 

It’s time for another session of building our check-in Power App for my former school.  This is now session 4 of our series. If you are interested in all of the ins and outs of what got us to this point and you want to build the app from the beginning check out these three videos first.

Let's Build a Power App | Session 1
Let's Build a Power App | Session 2
Let's Build a Power App | Session 3

In the third session, we learned how to search our data with an input text box, insert locally saved images and have the height of an object changed based on another object’s height.

For this session, we will sort our search results, add a new screen with the locations of our students, and delete records.  For deleting records we are going to go above and beyond a normal delete and discuss popup confirmation boxes in an app. Sure it takes more time in the design, but you as the app developer will be grateful you took this extra time. 

 

Below is a more detailed list of items we will be covering:

1.       Sort our student records by grade and name

2.       Make a new screen

3.       Add a button that will take us to our second screen

4.       Insert a gallery to show student locations

5.       Filter our gallery to only show the student we are interested in from our first screen

6.       Make a popup screen that only shows based on another button.  This will be our “Are you sure you want to delete this record?” confirmation.

7.       Add a button to a popup screen that allows for deleting a record

8.       Use the UpdateContext function to define a local variable


The goal of these next few blogs and videos is to build an app, but not do it too quickly.  I want to let the information soak in one week at a time without overwhelming anyone.  If you think the videos cover too much or not enough material for one session please email me at mpeterson@pragmaticworks.com so I can modify the future sessions or leave a comment below the video.

 

Enjoy and have fun!  

DEMO | Let's Build an App | Session 4



Comments

Popular posts from this blog

Best Practice To Trim Before Removing Duplicates or Merging In Power Query Editor

In last week’s blog, I wrote and did a video about how to remove duplicate records and keep the most recent entry as long as a date column was part of the data source.   I came across the scenario while giving training on Power BI with my company Pragmatic Works.   See the video below:     This week, while doing another two-day training I came across a different scenario from a follow-up conversation from day 1.   I had explained how to remove duplicate records and one of the students started working on a Power BI project she has for her company.   On day 2 the student informed me that her remove duplicates step was not working.   I said that is odd and I asked to see the data.   In one of her table visuals, I could see that it appeared that a few of the records had duplicates based on the name column.   After further investigation though, we figured out the culprit.     She had done all the steps correctly, but it was a data integrity issue.   In her data source, the perso

The Power of CALCULATE in Power BI

Last week in my blog and video I discussed how Power BI could have made my life as a teacher much easier.  It is not that Power BI can do things that I could not on my own.  It is the fact that Power BI could have saved me so much time.   This led me to some thoughts and questions.   How could I have impacted the students more in the classroom with this extra time?  Would teachers who were not analyzing student data due to time constraints now start?  How can I make the data tell my students a story that gives them an accurate picture of their progress?   That last question is what leads to this week’s blog.   Many times the metrics (which is just a fancy word for "numbers") of what we want to show are easy to do by hand with a basic math background.  Although easy, it can be very time consuming when dealing with different groups of data: like 6 periods of students instead of 1 period. When we want to do these calculations quickly with minimal effort in Power BI it is not

Relating "Related Tables" to Baseball because I Miss Sports

I miss sports. In particular, I miss baseball. Between learning more Power BI functions and the ins-and-outs of DAX, I've turned to Netflix to fill the deep caverns left in my soul since baseball season has been postponed. And as a result, I've thought more about tigers and big cats more than I ever have in my life. I know ALL about Carol Baskins and am fully on board for a spin-off centering on locating her lost husband. I've googled "is it really legal to own a tiger in a residential area?" Without baseball in April, I am barely hanging in there (kinda like Joe Exotic's eyebrow ring). So, I am filling the sports-sized hole by using baseball stats in Power BI to demonstrate pulling data from multiple tables and consolidating it into one table.  Some of the data we want to consolidate also has to have some aggregations (which is fancy for "calculations") performed on it.  In this demo I will attempt to break down what is really going on