The ask, take a date value as input and output its calculated day of the year using Power Fx. Not a fancy request, but it is an ask. E.g., November 1, 2025, is the 305th day of the year. Figure 1 - Power Apps canvas app with date picker and label elements. Breaking down the … Continue reading Power Fx: Date Picker | Calculate Day of the Year
Power Fx
Power Apps: Canvas App | Ranked Choice Voting (RCV)
This is likely to be a lengthy post because there was no ask today. I just wanted to stress test nested Power Fx With() functions a bit. My question, "Are there any performance concerns nesting With() functions?" To test this and maybe get an answer, I created a Power Apps canvas app to determine the … Continue reading Power Apps: Canvas App | Ranked Choice Voting (RCV)
Power Fx: Unique Records w/ Duplicate Count
Scenario: I have a data source with thousands of addresses, and their street names need to be searchable in a canvas app. Problem: There are similar streets in other cities, so search results will contain duplicates. Workaround: Group similar addresses and display the NumberOf duplicates using the Power Fx's GroupBy function. Figure 1 - Canvas … Continue reading Power Fx: Unique Records w/ Duplicate Count
Power Apps: Canvas App | Merging Data Sources w/ AddColumn()
Scenario: There is a canvas app with a text box, two radio choices, a vertical gallery, and two data sources. Toggling the radio button changes which data source is filtered and used to populate the gallery. Problem: The data sources don't have any data columns in common and Power Apps doesn't like that. Solution: Create … Continue reading Power Apps: Canvas App | Merging Data Sources w/ AddColumn()
Power Apps: Canvas Apps | Office365Users – Profile Errors
The Office365Users connector gets tricky when makers are working with incomplete user profiles. Especially when trying to display user profile photos. Does everyone have a picture? Even the contractors? Unfortunately, everyone isn't guaranteed to have an uploaded profile photo. Making the assumption that they do only invites future problems. To be proactive, default to the … Continue reading Power Apps: Canvas Apps | Office365Users – Profile Errors
Power Apps: SharePoint | Delegation + AddColumn()
So yeah, this won't work for everyone, but it was a creative delegation workaround for me. In my scenario, I used several SharePoint Online (SPO) lists as data sources and needed to filter on a multi-line column of employee Names, separated by a semi-colon: Figure 1 - SharePoint Online new item form. This example SPO … Continue reading Power Apps: SharePoint | Delegation + AddColumn()
Power Fx: Calculate | Calculate Days in a Month
Power Fx is the Excel-like, formula language of the Power Platform. Akin to Microsoft Excel, most of the functions are only reasonably powerful on their own. When they're combined though, they become much more awe-inspiring. For example, calculating the number of days in a month. Calculating this, makers only need a handful of functions and … Continue reading Power Fx: Calculate | Calculate Days in a Month
Power Apps: Build a Game… !NeRdlE!
!JeOpArDy was my last canvas app game, so it's been a while. Working on another canvas app, I wanted to give "Nerdle" a try. Important to note though, I'm only replicating maybe 80% of the game. With this in mind, puzzles are hardcoded and not loaded from an external source. Also, keeping this post from … Continue reading Power Apps: Build a Game… !NeRdlE!
Power Fx: Understanding | With()
Power Fx is the Excel-like programming language of the Power Platform, more specifically canvas apps. As with any of their programming offerings, Microsoft has bundled plenty of pre-built functions into Power Fx. Among these bundled functions, With() is easily a standout. If you haven't worked the With() function into your canvas apps yet, then you're … Continue reading Power Fx: Understanding | With()
Power Apps: Generate Custom GUID(s)
Acknowledging it early, yes, there is a Microsoft provided GUID() function already available in Power Fx. The function is handy and gets the job done. However, there are scenarios where makers may want to create their own GUID values. How? Well, nesting a small handful of Power Fx functions: Set() Concat() With() Sequence() Switch() ForAll() … Continue reading Power Apps: Generate Custom GUID(s)