How to Set a Context Variable in Power Apps (UpdateContext Examples)

How to Set Context Variables in Power Apps

To set a context variable in Power Apps, call UpdateContext({locCartCount: 0}) in a behavior property such as a button’s OnSelect. The variable is created the first time the formula runs, it belongs to the current screen only, and every later UpdateContext call on that screen updates it. I’ll build a small shopping cart screen for … Read more >>>

Power Apps App.StartScreen [Guide to Setting Your Start Screen]

tree view in canvas app

If you’ve ever opened a Power Apps canvas app and wondered why it’s landing on the wrong screen — or why your app feels slow to load — this tutorial is for you. I’m going to walk you through everything about the Power Apps App.StartScreen property: what it is, how it works, how it differs from App.OnStart, and … Read more >>>

How to Set a Default Item in a Power Apps Gallery (4 Examples)

Power Apps set gallery default selected item manually

When a Power Apps screen opens, the gallery selects its first item by default. That’s rarely the one people need. In one app I built, managers wanted the Marketing team highlighted straight away, and after adding a new employee, they expected to see that person selected, not the top row. In this tutorial, I’ll show … Read more >>>

How to Create a Pie Chart in Power Apps (Step by Step)

Power Apps Pie chart

A sales manager I worked with wanted one screen in her Power Apps app that showed, at a glance, which product brought in the most revenue. A table of numbers didn’t do it, but a pie chart did: every slice showed a product’s share of total sales. In this tutorial, I’ll show you how to … Read more >>>