Power Apps: WeekNum function
Returns the week number for a date. Start day is configurable.
Power Fx is Microsoft's low-code language for expressing logic across the Power Platform. Expressive languages, for anyone new to the term, are easy to read and write while still handling complex ideas with very little boilerplate. That design means makers at almost any skill level can pick Power Fx up quickly and start building real functionality without a traditional programming background. Microsoft made a smart choice when it based Power Fx on Excel's formula language, which means a huge number of people already know the fundamentals. If you can write a formula in a cell, you are closer to Power Fx than you might think. In this area I break down the core functions, walk through how expressions behave, and show you patterns you can reuse in canvas apps, Power Automate, and beyond. Expect clear, hands-on explanations with practical examples, plus notes on the behaviors that trip people up.
Returns the week number for a date. Start day is configurable.