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