[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699Y9E80WYFKD1S4MT4B1CS":3,"skill-same:01M699Y9E80WYFKD1S4MT4B1CS":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M699Y9E80WYFKD1S4MT4B1CS","query-design","Power BI 查询设计","Separates DAX data-fetching from TypeScript presentation. Guides when to use  DAX vs. TypeScript vs. Vega-Lite for aggregation, total rows, FORMAT(), SELECTCOLUMNS,  BLANK handling, filtering, multi-grain queries, cross-filtering and cross-highlight subset\u002Foverlay queries, and format strings.","将 DAX 数据获取与 TypeScript 呈现相分离。指导何时使用 DAX、TypeScript 或 Vega-Lite 来进行聚合、总计行、FORMAT()、SELECTCOLUMNS、BLANK 处理、筛选、多粒度查询、交叉筛选与交叉高亮的子集\u002F覆盖查询，以及格式字符串。","microsoft\u002Frayfin","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699VK9NEV8GH0Y5JKT1G8XG",662,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师","PROFESSION","适用职业",[31,32,33,34],"design","query design","typescript","dax","2026-11-10 10:12:30",false,"---\nname: query-design\ndescription: >\n  Separates DAX data-fetching from TypeScript presentation. Guides when to use \n  DAX vs. TypeScript vs. Vega-Lite for aggregation, total rows, FORMAT(), SELECTCOLUMNS, \n  BLANK handling, filtering, multi-grain queries, cross-filtering and\n  cross-highlight subset\u002Foverlay queries, and format strings.\n---\n\n# Query Design — Separation of Data and Presentation\n\n**DAX computes and fetches data. TypeScript shapes it for display. VegaVisual and DataGrid render it.**\n\nAggregate in DAX to the visual's grain — never fetch lower-grain rows to roll up client-side. When a visual layout changes, only the TypeScript or spec layer should change — not the DAX query.\n\n## Responsibility Matrix\n\n| Concern | Owner |\n|---|---|\n| Semantic measures (SUM, DISTINCTCOUNT, etc.) | DAX |\n| Filters and slicers | DAX or TypeScript ([see Filter Strategy](references\u002Ffilter-strategy.md)) |\n| Grouping grain (SUMMARIZECOLUMNS) | DAX |\n| Time intelligence (YTD, YoY) | DAX |\n| TopN \u002F payload reduction | DAX |\n| Deterministic row ordering (ORDER BY) | DAX (for debugging — not presentation sort) |\n| Merging multiple result sets | TypeScript |\n| Server-provided grand totals (preferred, supports all aggregation types) | DAX |\n| DataGrid-computed grand totals | DataGrid (alternative only for additive `sum` values or a count of fetched leaf rows) |\n| Filling dimension gaps | TypeScript (stitch dimension list into sparse results) |\n| Reshaping (pivot, unpivot) | TypeScript |\n| Column display names | `columnMetadata` in factory file |\n| Number\u002Fdate formatting | `columnMetadata.format` \u002F Vega-Lite spec |\n| User-facing sort order | TypeScript \u002F Vega-Lite `sort` \u002F DataGrid `sort` |\n| Decorative labels, icons | DataGrid `cellRenderer` or Vega-Lite condition |\n| Axis titles, legends, color encoding | Vega-Lite spec |\n\n## Rules\n\n### Must\n\n- Aggregate in DAX to the visual's grain — never fetch lower-grain rows just to roll them up to that grain in TypeScript\n- One grain per `.dax` file (one `EVALUATE` per file); separate grains → separate files + separate `useSemanticModelQuery` calls\n- `ORDER BY` in DAX for stable, diffable results — not presentation sort\n- Same filters\u002Fmeasures across related split-grain queries to prevent drift\n\n### Prefer\n\n- `SUMMARIZECOLUMNS` for grouped aggregation — it also drops BLANK-measure rows, keeping payloads small\n- DAX's natural column names (`'Table'[Column]`, `[Measure]`) mapped via `columnMetadata.displayName`\n- Raw typed values from DAX — format via `columnMetadata.format` or Vega-Lite, never `FORMAT()`\n- Model-defined format strings (from `INFO.VIEW.MEASURES()`) over invented ones\n- Multiple lightweight queries over one monolithic query\n- User-facing sort in TypeScript \u002F Vega-Lite \u002F DataGrid — never re-query for sort\n\n### Avoid\n\n- `SELECTCOLUMNS` solely for renaming — use `columnMetadata.displayName` instead\n- `UNION` to mix different grains (detail + total) — use separate queries\n- `FORMAT()` in DAX — converts to text, breaks sorting and charting\n- Converting BLANK to `0` \u002F `\"\"` \u002F `\"N\u002FA\"` in DAX — causes result-set explosion\n- `CONCATENATEX`, `UNICHAR`, emoji prefixes — decorative text belongs in `cellRenderer` or Vega-Lite\n- Fetching all members of high-cardinality dimensions just to fill gaps\n\n## Decision Flowchart\n\n```text\nNeed to add something to the query result?\n  |-- Calculation \u002F aggregation \u002F filter?\n  |     -> DAX (measures, CALCULATE, SUMMARIZECOLUMNS)\n  |-- Interactive filter the user controls?\n  |     -> Low-cardinality: widen grain, filter in TypeScript or Vega-Lite transform\n  |     -> High-cardinality: push filter to DAX, re-query\n  |-- Adding a DataGrid grand total?\n  |     -> DAX summary query: pass its one-row DataTable via grandTotals.data\n  |     -> DataGrid-computed sum\u002Fcount: set defaultAggregation, omit grandTotals.data\n  |-- Merging datasets or adding other synthetic rows?\n  |     -> Charts: pass multiple DataTables to VegaVisual, layer in spec\n  |     -> Grids: append rows in TypeScript, style via cellRenderer\n  |-- Renaming a column for display?\n  |     -> columnMetadata in the factory file (displayName)\n  |-- Formatting, labeling, or encoding?\n  |     -> Vega-Lite spec or DataGrid cellRenderer\n  |-- Decorating values (icons, status badges, null placeholders)?\n  |     -> DataGrid cellRenderer or Vega-Lite condition encoding\n  |-- Not sure?\n        -> Does it change what the data *means* (filter, measure, grain)? -> DAX\n           Does it change only how data is *rendered* (labels, icons, layout)? -> TypeScript \u002F Vega-Lite spec \u002F DataGrid cellRenderer\n           Still unclear? -> Read the relevant reference above\n```\n\n## Interactivity\n\nReports coordinate multiple visuals: a selection in one changes what the others show. Two distinct behaviors, with different data work behind them:\n\n- **Cross-filtering** — a selection in one visual constrains the data shown in another, removing or narrowing the non-matching rows from the target's view. The target shows *less*. Applying that constraint is a cost\u002Fcardinality tradeoff — widen the grain and filter client-side, or push the filter into DAX and re-query. See [Filter strategy](references\u002Ffilter-strategy.md).\n- **Cross-highlighting** — a selection in one visual emphasizes the matching subset *within* another while the full context stays visible. The target keeps its baseline (dimmed) and draws the selected subset bright on top. The subset is a separate aggregation aligned to the baseline's grouping, measures, and row set — not a client-side filter of the baseline. See [Highlight queries](references\u002Fhighlight-queries.md).\n\nBoth consume the predicate-based selection events the visual components emit (`onInteraction`). The components render only the `DataTable`s they are handed; this skill produces those tables. For how a spec binds and layers multiple datasets, see the visuals skill's [multi-data input](..\u002Fvisuals\u002Freferences\u002Fmulti-data-input.md) reference.\n\n## Reference Materials\n\nRead these when working on a specific topic:\n\n- **[Anti-patterns and corrections](references\u002Fanti-patterns.md)** — Open when reviewing a query that uses `UNION` for totals, `FORMAT()`, `SELECTCOLUMNS` for renaming, `CONCATENATEX`\u002Femoji decoration, BLANK-to-`0` conversion, or `GENERATE`\u002F`CROSSJOIN` for gap-filling.\n- **[Multi-grain patterns](references\u002Fmulti-grain-patterns.md)** — Open when a single visualization needs data at two grains (e.g., bars + grand-total reference line, region detail + total row, monthly trend + YTD).\n- **[Filter strategy](references\u002Ffilter-strategy.md)** — Open when adding a user-controlled filter or implementing cross-filtering, and deciding whether to widen the grain (filter client-side) or push the filter into DAX (re-query on each change).\n- **[Highlight queries](references\u002Fhighlight-queries.md)** — Open when writing the \"selected subset\" overlay query for a cross-highlight visual: an aligned `CALCULATETABLE` \u002F `TREATAS` query whose rows match the baseline.\n- **[Format strings](references\u002Fformat-strings.md)** — Open when picking a `columnMetadata.format` value, when a measure has a dynamic format string, or when formatting needs to flow into a Vega-Lite axis.\n\n## Integration with Sibling Skills\n\n- **[schema-discovery](..\u002Fschema-discovery\u002FSKILL.md)** — Schema exploration; discover tables, columns, and relationships before writing queries.\n- **[dax-authoring](..\u002Fdax-authoring\u002FSKILL.md)** — DAX syntax, query patterns, and testing workflow. Apply this skill's principles when deciding what DAX should compute.\n- **[visuals](..\u002Fvisuals\u002FSKILL.md)** — Vega-Lite specs and DataGrid configuration. Push formatting and labels into specs, not DAX.\n","# Query Design — Separation of Data and Presentation\n\n**DAX computes and fetches data. TypeScript shapes it for display. VegaVisual and DataGrid render it.**\n\nAggregate in DAX to the visual's grain — never fetch lower-grain rows to roll up client-side. When a visual layout changes, only the TypeScript or spec layer should change — not the DAX query.\n\n## Responsibility Matrix\n\n| Concern | Owner |\n|---|---|\n| Semantic measures (SUM, DISTINCTCOUNT, etc.) | DAX |\n| Filters and slicers | DAX or TypeScript ([see Filter Strategy](references\u002Ffilter-strategy.md)) |\n| Grouping grain (SUMMARIZECOLUMNS) | DAX |\n| Time intelligence (YTD, YoY) | DAX |\n| TopN \u002F payload reduction | DAX |\n| Deterministic row ordering (ORDER BY) | DAX (for debugging — not presentation sort) |\n| Merging multiple result sets | TypeScript |\n| Server-provided grand totals (preferred, supports all aggregation types) | DAX |\n| DataGrid-computed grand totals | DataGrid (alternative only for additive `sum` values or a count of fetched leaf rows) |\n| Filling dimension gaps | TypeScript (stitch dimension list into sparse results) |\n| Reshaping (pivot, unpivot) | TypeScript |\n| Column display names | `columnMetadata` in factory file |\n| Number\u002Fdate formatting | `columnMetadata.format` \u002F Vega-Lite spec |\n| User-facing sort order | TypeScript \u002F Vega-Lite `sort` \u002F DataGrid `sort` |\n| Decorative labels, icons | DataGrid `cellRenderer` or Vega-Lite condition |\n| Axis titles, legends, color encoding | Vega-Lite spec |\n\n## Rules\n\n### Must\n\n- Aggregate in DAX to the visual's grain — never fetch lower-grain rows just to roll them up to that grain in TypeScript\n- One grain per `.dax` file (one `EVALUATE` per file); separate grains → separate files + separate `useSemanticModelQuery` calls\n- `ORDER BY` in DAX for stable, diffable results — not presentation sort\n- Same filters\u002Fmeasures across related split-grain queries to prevent drift\n\n### Prefer\n\n- `SUMMARIZECOLUMNS` for grouped aggregation — it also drops BLANK-measure rows, keeping payloads small\n- DAX's natural column names (`'Table'[Column]`, `[Measure]`) mapped via `columnMetadata.displayName`\n- Raw typed values from DAX — format via `columnMetadata.format` or Vega-Lite, never `FORMAT()`\n- Model-defined format strings (from `INFO.VIEW.MEASURES()`) over invented ones\n- Multiple lightweight queries over one monolithic query\n- User-facing sort in TypeScript \u002F Vega-Lite \u002F DataGrid — never re-query for sort\n\n### Avoid\n\n- `SELECTCOLUMNS` solely for renaming — use `columnMetadata.displayName` instead\n- `UNION` to mix different grains (detail + total) — use separate queries\n- `FORMAT()` in DAX — converts to text, breaks sorting and charting\n- Converting BLANK to `0` \u002F `\"\"` \u002F `\"N\u002FA\"` in DAX — causes result-set explosion\n- `CONCATENATEX`, `UNICHAR`, emoji prefixes — decorative text belongs in `cellRenderer` or Vega-Lite\n- Fetching all members of high-cardinality dimensions just to fill gaps\n\n## Decision Flowchart\n\n```text\nNeed to add something to the query result?\n  |-- Calculation \u002F aggregation \u002F filter?\n  |     -> DAX (measures, CALCULATE, SUMMARIZECOLUMNS)\n  |-- Interactive filter the user controls?\n  |     -> Low-cardinality: widen grain, filter in TypeScript or Vega-Lite transform\n  |     -> High-cardinality: push filter to DAX, re-query\n  |-- Adding a DataGrid grand total?\n  |     -> DAX summary query: pass its one-row DataTable via grandTotals.data\n  |     -> DataGrid-computed sum\u002Fcount: set defaultAggregation, omit grandTotals.data\n  |-- Merging datasets or adding other synthetic rows?\n  |     -> Charts: pass multiple DataTables to VegaVisual, layer in spec\n  |     -> Grids: append rows in TypeScript, style via cellRenderer\n  |-- Renaming a column for display?\n  |     -> columnMetadata in the factory file (displayName)\n  |-- Formatting, labeling, or encoding?\n  |     -> Vega-Lite spec or DataGrid cellRenderer\n  |-- Decorating values (icons, status badges, null placeholders)?\n  |     -> DataGrid cellRenderer or Vega-Lite condition encoding\n  |-- Not sure?\n        -> Does it change what the data *means* (filter, measure, grain)? -> DAX\n           Does it change only how data is *rendered* (labels, icons, layout)? -> TypeScript \u002F Vega-Lite spec \u002F DataGrid cellRenderer\n           Still unclear? -> Read the relevant reference above\n```\n\n## Interactivity\n\nReports coordinate multiple visuals: a selection in one changes what the others show. Two distinct behaviors, with different data work behind them:\n\n- **Cross-filtering** — a selection in one visual constrains the data shown in another, removing or narrowing the non-matching rows from the target's view. The target shows *less*. Applying that constraint is a cost\u002Fcardinality tradeoff — widen the grain and filter client-side, or push the filter into DAX and re-query. See [Filter strategy](references\u002Ffilter-strategy.md).\n- **Cross-highlighting** — a selection in one visual emphasizes the matching subset *within* another while the full context stays visible. The target keeps its baseline (dimmed) and draws the selected subset bright on top. The subset is a separate aggregation aligned to the baseline's grouping, measures, and row set — not a client-side filter of the baseline. See [Highlight queries](references\u002Fhighlight-queries.md).\n\nBoth consume the predicate-based selection events the visual components emit (`onInteraction`). The components render only the `DataTable`s they are handed; this skill produces those tables. For how a spec binds and layers multiple datasets, see the visuals skill's [multi-data input](..\u002Fvisuals\u002Freferences\u002Fmulti-data-input.md) reference.\n\n## Reference Materials\n\nRead these when working on a specific topic:\n\n- **[Anti-patterns and corrections](references\u002Fanti-patterns.md)** — Open when reviewing a query that uses `UNION` for totals, `FORMAT()`, `SELECTCOLUMNS` for renaming, `CONCATENATEX`\u002Femoji decoration, BLANK-to-`0` conversion, or `GENERATE`\u002F`CROSSJOIN` for gap-filling.\n- **[Multi-grain patterns](references\u002Fmulti-grain-patterns.md)** — Open when a single visualization needs data at two grains (e.g., bars + grand-total reference line, region detail + total row, monthly trend + YTD).\n- **[Filter strategy](references\u002Ffilter-strategy.md)** — Open when adding a user-controlled filter or implementing cross-filtering, and deciding whether to widen the grain (filter client-side) or push the filter into DAX (re-query on each change).\n- **[Highlight queries](references\u002Fhighlight-queries.md)** — Open when writing the \"selected subset\" overlay query for a cross-highlight visual: an aligned `CALCULATETABLE` \u002F `TREATAS` query whose rows match the baseline.\n- **[Format strings](references\u002Fformat-strings.md)** — Open when picking a `columnMetadata.format` value, when a measure has a dynamic format string, or when formatting needs to flow into a Vega-Lite axis.\n\n## Integration with Sibling Skills\n\n- **[schema-discovery](..\u002Fschema-discovery\u002FSKILL.md)** — Schema exploration; discover tables, columns, and relationships before writing queries.\n- **[dax-authoring](..\u002Fdax-authoring\u002FSKILL.md)** — DAX syntax, query patterns, and testing workflow. Apply this skill's principles when deciding what DAX should compute.\n- **[visuals](..\u002Fvisuals\u002FSKILL.md)** — Vega-Lite specs and DataGrid configuration. Push formatting and labels into specs, not DAX.\n",{"name":5,"description":7},"main","0979439a7a0806abd0ee48c2619b37f297ae1324","samples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design",77,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 01:21:10",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add microsoft\u002Frayfin --skill query-design",{"tool":55,"command":56},"bunx","bunx skills add microsoft\u002Frayfin --skill query-design",{"tool":58,"command":59},"pnpm","pnpm dlx skills add microsoft\u002Frayfin --skill query-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002FSKILL.md",true,[63,69,73,77,81],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fanti-patterns.md","REFERENCE","参考文档",10463,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002Freferences\u002Fanti-patterns.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Ffilter-strategy.md",3106,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002Freferences\u002Ffilter-strategy.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fformat-strings.md",2922,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002Freferences\u002Fformat-strings.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fhighlight-queries.md",5642,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002Freferences\u002Fhighlight-queries.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmulti-grain-patterns.md",6176,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fquery-design\u002Freferences\u002Fmulti-grain-patterns.md",[86,107,123,135,149,166],{"skillNo":87,"name":88,"nameZh":89,"description":90,"descriptionZh":91,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":100,"publishedAt":35},"01M699YEY2QDVPKTZS3HR9AX84","rayfin-getting-started","Rayfin 应用创建与入门","Use when starting or creating a NEW Rayfin app, or when a Rayfin task comes up and you are not yet inside a Rayfin project. Gets you into a project with the Rayfin CLI, then hands off to the authoritative, version-locked in-project rayfin skill\u002Fdocs that own all in-project work. Triggers: build a Rayfin app, start a Rayfin project, create a new Rayfin app, create-rayfin, npm create @microsoft\u002Frayfin, rayfin init, scaffold rayfin, rayfin CLI, rayfin template, universal app, awesome-rayfin gallery, get started with Rayfin","在启动或创建新的 Rayfin 应用时使用，或在出现 Rayfin 任务但尚未进入 Rayfin 项目时使用。它会通过 Rayfin CLI 带你进入项目，然后移交给项目内权威的、版本锁定的 rayfin 技能\u002F文档，由它们负责所有项目内工作。触发词：构建 Rayfin 应用、启动 Rayfin 项目、创建新的 Rayfin 应用、create-rayfin、npm create @microsoft\u002Frayfin、rayfin init、scaffold rayfin、rayfin CLI、rayfin template、universal app、awesome-rayfin gallery、get started with Rayfin。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fskills\u002Frayfin-getting-started\u002FSKILL.md",[94,97],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[101,102,103,104,10,105,106],"rayfin getting started","rayfin","scaffold","init","docs","cli",{"skillNo":108,"name":109,"nameZh":110,"description":111,"descriptionZh":112,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":35},"01M699YCN4ZDW2AMDP4NVJ2QGC","visuals","数据可视化图表实现","Use when user wants to incorporate charts, graphs, data grid,  or other visual representations of data into their project. Use VegaVisual and DataGrid components to create these visuals,  utilizing the shared DataTable input, formatting, theme, and interactivity. Covers the onInteraction selection\u002Fclick events host apps consume, named multi-table data input for layered overlays and reference lines, and Vega-Lite native selections. Triggers: chart, graph, plot, dashboard, KPI, metric, trend, scorecard, data grid, visualize.","当用户想要在项目中加入图表、图形、数据网格或其他数据可视化表示时使用。使用 VegaVisual 和 DataGrid 组件创建这些可视化，利用共享的 DataTable 输入、格式设置、主题和交互性。涵盖宿主应用消费的 onInteraction 选择\u002F点击事件、用于分层叠加和参考线的命名多表数据输入，以及 Vega-Lite 原生选择。触发词：chart、graph、plot、dashboard、KPI、metric、trend、scorecard、data grid、visualize。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fvisuals\u002FSKILL.md",[115,116],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":117,"categoryName":118,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[109,120,121,122],"components","dashboard","visualize",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":133,"publishedAt":35},"01M699YBEP146MJZJNN8YEBZ2G","schema-discovery","Power BI 语义模型探查","Explore Power BI semantic model schemas using DAX INFO functions. Progressive metadata discovery strategy, scope estimation, and narrowing techniques for tables, columns, measures, and relationships.","使用 DAX INFO 函数探索 Power BI 语义模型架构。包括渐进式元数据发现策略、范围估计，以及针对表、列、度量值和关系的缩小范围技巧。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Fschema-discovery\u002FSKILL.md",[131,132],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[134,34],"schema discovery",{"skillNo":136,"name":137,"nameZh":138,"description":139,"descriptionZh":140,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":147,"publishedAt":35},"01M699Y7CKZ55QSYFE827RRVJE","functions-capability","Universal App 函数能力开发","Apply and build the Universal App functions capability. Use for trusted server-side logic, secrets, external APIs, custom model endpoints, published Fabric data agents, webhooks, or privileged operations.","应用并构建 Universal App 的函数能力。用于可信的服务器端逻辑、密钥（secrets）、外部 API、自定义模型端点、已发布的 Fabric 数据智能体、Webhook 或特权操作。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffunctions-capability\u002FSKILL.md",[143,144],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":145,"categoryName":146,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QVANT4709358VEJK53E","代码实现",[148],"functions capability",{"skillNo":150,"name":151,"nameZh":152,"description":153,"descriptionZh":154,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":155,"categories":156,"keywords":161,"publishedAt":35},"01M699Y5R87YE620T78Z30KQSA","fabric-sdk","Fabric 语义模型 DAX 查询","How to query Fabric data from a running app through the Rayfin connectors client. Use getRayfinClient().connectors.\u003Cname>.executeQuery to run DAX against a semantic model, and toQueryResult to normalize the response.","如何通过运行中的应用里的 Rayfin connectors 客户端查询 Fabric 数据。使用 getRayfinClient().connectors.\u003Cname>.executeQuery 对语义模型执行 DAX 查询，并使用 toQueryResult 规范化响应。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-sdk\u002FSKILL.md",[157,158],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":159,"categoryName":160,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[162,163,164,165,34,102],"fabric sdk","sdk","rayfin connectors","connectors",{"skillNo":167,"name":168,"nameZh":169,"description":170,"descriptionZh":171,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":172,"categories":173,"keywords":178,"publishedAt":35},"01M699Y412TNZ8EABAE8TABG0D","fabric-data-agent","Fabric 数据智能体调用","Call a published Fabric data agent from a Universal App through a Rayfin function using application auth and MCP streamable HTTP. Use when the request names a Fabric data agent, data-agent MCP endpoint, or asks to chat with governed Fabric data through an app.","通过 Rayfin 函数，使用应用程序认证和 MCP 流式 HTTP，从 Universal App 调用已发布的 Fabric 数据智能体。当请求中提到 Fabric 数据智能体、数据智能体 MCP 端点，或要求通过应用与受治理的 Fabric 数据对话时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Frayfin\u002Fblob\u002Fmain\u002Fsamples\u002Funiversal-app\u002Ftemplate\u002F.agents\u002Fskills\u002Ffabric-data-agent\u002FSKILL.md",[174,177],{"categoryNo":175,"categoryName":176,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",{"categoryNo":159,"categoryName":160,"taxonomyType":28,"taxonomyTypeDesc":29},[179,180,102,181],"fabric data agent","auth","MCP"]