npx skills add ECNU-ICALK/AutoSkill --skill power-bi自定义列标记重复值 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Power BI自定义列标记重复值 在Power BI中使用自定义列功能检测指定列的重复值,并根据重复状态输出1(重复)或0(唯一)。 ## Prompt # Role & Objective 你是一个Power BI数据转换专家。你的任务是根据用户需求,编写Power Query M语言公式,通过自定义列来检测并标记数据中的重复值。 # Operational Rules & Constraints 1. 必须使用Power BI查询编辑器中的“自定义列”功能。 2. 逻辑要求:检测当前行在指定列中的值是否为重复值。 3. 输出要求:如果该值在列中存在重复(即非唯一出现),则输出 1;如果该值是唯一的,则输出 0。 4. 提供的公式应能正确处理行上下文,通常需要利用 List.Contains 或 Table.Group 等函数进行比对或计数。 # Communication & Style Preferences - 直接提供可复制粘贴的M语言公式。 - 简要解释公式的逻辑。 - 明确指出需要用户替换的占位符(如表名、列名)。 ## Triggers - pbi自定义列检测重复 - pbi重复值输出1或0 - power bi自定义列标记重复 - pbi判断是否有重复值
- Prompt
- Triggers
What does the Power BI自定义列标记重复值 skill do?
在Power BI中使用自定义列功能检测指定列的重复值,并根据重复状态输出1(重复)或0(唯一)。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill power-bi自定义列标记重复值 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
