The world's most comprehensive collection of Power Fx code snippets for Microsoft Power Platform
We're making PowerFxSnippets even better! A comprehensive restructuring is underway to improve navigation, discoverability, and developer experience.
The repository is being reorganized into a feature-first architecture with:
- 📱 app-lifecycle/ - App initialization, error handling, formulas (NEW STRUCTURE)
- 🎨 ui-controls/ - Control-specific snippets (NEW STRUCTURE)
- 🎭 ui-patterns/ - Reusable UI patterns (NEW STRUCTURE)
- 🌈 visual-assets/ - SVGs, icons, colors, fonts (NEW STRUCTURE)
- 📊 data-operations/ - Data sources and transformations (NEW STRUCTURE)
- 🔧 functions/ - UDFs, UDTs, utilities (NEW STRUCTURE)
- 🔗 integrations/ - Connectors and flows (NEW STRUCTURE)
- 🎓 learning/ - Tutorials and best practices (NEW STRUCTURE)
- 🧰 utilities/ - Templates and tools (NEW STRUCTURE)
📋 View Complete Restructuring Plan
The existing organization remains functional during migration:
New to Power Fx? Start here:
| Category | Description | Quick Access |
|---|---|---|
| 01-getting-started | Entry point for new developers | Hello World • Common Patterns |
| 02-app-architecture | Application structure and lifecycle | App Events • Navigation |
| 03-user-interface | UI components and user experience | Controls • Themes |
| 04-data-management | Data operations and sources | Data Sources • Validation |
| 05-business-logic | Functions and calculations | Functions • Error Handling |
| 06-integrations | External services and APIs | Microsoft 365 • Azure |
| 07-assets-and-media | Visual assets and media | Icons • SVGs |
| 08-advanced-patterns | Expert techniques and architecture | Custom Components • Security |
| 09-learning-resources | Tutorials and educational content | Tutorials • Best Practices |
- 📋 Contribution Guide - How to add your own snippets
- 🔧 Tools & Utilities - Helper scripts and utilities
- 📚 Documentation - Detailed guides and references
⚠️ Power Fx Gotchas - Syntax quirks that differ from .NET/Excel/JavaScript- 🏛️ Code of Conduct - Community standards
- Start with Getting Started category
- Browse by difficulty level (beginner/intermediate/advanced)
- Use the search function with keywords like "gallery", "form", or "SharePoint"
- Jump directly to specific categories that match your needs
- Filter by tags and prerequisites
- Check related snippets for comprehensive solutions
- Use Learning Resources for onboarding
- Implement Best Practices across projects
- Leverage Advanced Patterns for complex scenarios
- Power Apps: Canvas Apps, Data Sources
- Power Automate: Flows, API Calls
- Dataverse: Data Operations, Security
- SharePoint: Integration, Document Management
- Business Apps: Forms, Workflows
- Dashboards: Charts, KPIs
- Mobile Apps: Responsive Design, Offline
- Admin Tools: User Management, Audit Logs
We welcome contributions! Here's how to get involved:
- 📝 Add Snippets: Share your Power Fx solutions
- 🐛 Report Issues: Help improve existing content
- 💡 Suggest Improvements: Propose new categories or features
- 📚 Improve Documentation: Enhance guides and navigation
- Read our Contribution Guide
- Check existing Issues for ideas
- Fork the repository and create your branch
- Add your snippet with proper metadata
- Submit a pull request
- ✅ Metadata: Complete YAML front matter with title, description, category, tags, difficulty
- ✅ Documentation: Clear explanation and usage examples
- ✅ Code Quality: Well-formatted, commented Power Fx code
- ✅ Testing: Include test scenarios where applicable
- 📁 Categories: 9 main categories with 40+ subcategories
- 📄 Snippets: 500+ code examples and patterns
- 🏷️ Tags: 200+ searchable tags for filtering
- 👥 Contributors: 50+ community members
- ⭐ Stars: Your support helps grow the community!
Power Fx is the low-code language that powers Microsoft Power Platform applications. It combines the familiarity of Excel formulas with the power of a programming language, enabling both citizen developers and professional developers to create sophisticated business applications.
Key Features:
- 📊 Excel-like syntax you already know
- 🔧 IntelliSense and formula suggestions
- 🌐 Cross-platform compatibility
- ⚡ Real-time evaluation and debugging
- 🔗 Rich integrations with Microsoft 365 and Azure
- 🐛 Issues: Report bugs or request features
- 💬 Discussions: Join community conversations
- 🌐 Power Platform Community: powerplatform.com
- 📚 Microsoft Learn: Power Fx documentation
- 🎓 Training: Power Apps training
This repository is licensed under the MIT License - see the LICENSE file for details.
- Power Apps Community for inspiration and contributions
- Microsoft Power Platform team for creating Power Fx
- All Contributors who share their knowledge and expertise
- You for being part of this amazing community!
⭐ Found this helpful? Star this repository to show your support!
🤝 Want to contribute? Check out our Contribution Guide to get started!