Power Fx 低代码公式语言

"Power Fx = Excel公式 + 编程能力 = 人人都能用的低代码语言"


函数参考

按类别浏览独立函数文档:

  • 文本函数 - Lower, Upper, Trim, Len, Left, Mid, Right, Find, Replace, Substitute, Concatenate, Concat, Text, GUID
  • 数学函数 - Abs, Round, Sqrt, Power, Mod, Min, Max, Sum, Average, Count, Sin, Cos, Tan, Rand
  • 日期时间函数 - Today, Now, Date, DateTime, Year, Month, Day, DateAdd, DateDiff, Time, Hour, Minute, Weekday
  • 逻辑函数 - If, And, Or, Not, Switch, IsBlank, IsEmpty, Coalesce
  • 表函数 - Filter, Sort, LookUp, First, Last, AddColumns, DropColumns, GroupBy, Distinct, Patch, Collect, Remove

目录


本书简介

欢迎来到 Power Fx 的学习之旅!Power Fx 是微软 Power Platform 的低代码公式语言,将 Excel 的易用性与现代编程能力完美结合。

什么是 Power Fx?

Power Fx 是一种: - 强类型:编译时检查类型错误 - 声明式:描述"要什么"而非"怎么做" - 函数式:基于纯函数,无副作用 - 低代码:人人可用的编程语言

Power Fx vs Excel 公式

特性 Excel 公式 Power Fx
适用范围 单元格 应用控件
交互性 静态 响应用户操作
数据源 工作表 多种数据源
编程能力 有限 完整

为什么学习 Power Fx?

  • 低代码开发:无需专业编程背景
  • Excel兼容:熟悉的语法,快速上手
  • 多平台支持:Power Apps, Power Automate, Copilot Studio
  • 开源:可在VS Code中编辑

配套资源

  • 微软官方文档:https://learn.microsoft.com/zh-cn/power-platform/power-fx/overview
  • Power Fx参考:https://learn.microsoft.com/zh-cn/power-platform/power-fx/reference/

开始学习

下一章:Power Fx简介 →