powerbi-repointing
/powerbi-repointing
Przekierowuje raporty Power BI .pbit na Snowflake podczas konwersji: pobiera ścieżkę folderu .pbit i podaje flagę --powerbi-repointing dla scai code convert.
- Autor
- sfc-gh-dflippo ↗
- Repozytorium
- snowflake-dbt-demo ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 15
- Skrypty
- 9
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 9 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: fixer/scripts/_console.py, fixer/scripts/display-results.py, fixer/scripts/extract-current-pbit.py, fixer/scripts/extract-pbit.py, fixer/scripts/prepare-queries-for-llm.py, fixer/scripts/reassemble-pbit.py, fixer/scripts/update-assessment-report.py, fixer/scripts/verify-output.py
Co robi i kiedy
Przekierowuje raporty Power BI .pbit na Snowflake podczas konwersji: pobiera ścieżkę folderu .pbit i podaje flagę --powerbi-repointing dla scai code convert.
Oryginalny opis (EN)
Repoint Power BI `.pbit` reports to Snowflake during conversion. Collects the `.pbit` folder path from the user and supplies the `--powerbi-repointing` flag for `scai code convert`. Load from `convert` or `code-conversion-only` only when the user confirms they have `.pbit` files.
Jak działa
- Workflow
- Convert Output for Power BI
- Option Reference
- CHECKPOINT Addendum
- Post-Conversion Check: Unsupported Queries
Podgląd SKILL.md
--- name: powerbi-repointing description: Repoint Power BI `.pbit` reports to Snowflake during conversion. Collects the `.pbit` folder path from the user and supplies the `--powerbi-repointing` flag for `scai code convert`. Load from `convert` or `code-conversion-only` only when the user confirms they have `.pbit` files. parent_skill: migration license: Proprietary. See License-Skills for complete terms --- # Power BI Repointing Load this skill from `convert` or `code-conversion-only` only when the user has answered **yes** to: > "Do you have Power BI reports (`.pbit` files) you'd like to repoint to Snowflake?" ## Workflow Do the following in order: 1. Say to the user (verbatim): *"Repointing rewrites the connection in each `.pbit` to point at Snowflake and translates any embedded SQL queries to Snowflake syntax."* 2. Ask the user (verbatim): *"Please provide the folder path containing your Power BI `.pbit` files. Only `.pbit` (Power BI template) files are supported — `.pbix` is not. If you only have `.pbix`, see https://github.com/Snowflake-Labs/SC.DDLExportScripts/tree/main/Power%20BI to export `.pbit`."* 3. Store the user's answer internally as `PBIT_PATH`. 4. Return to the calling skill. When it runs `scai code convert`, append `--powerbi-repointing <PBIT_PATH>` to the command. Do not emit the literal `<PBIT_PATH>` token to the shell. ## Convert Output for Power BI When `--powerbi-repointing` is used, `scai code convert` writes: - Repointed `.pbit` files → `artifacts/repointing_output/<timestamp>/<pbit_folder_name>/` - Extracted embedded queries → `source/power_bi_sql_queries/` - Converted Snowflake SQL for those queries → `snowflake/power_bi_sql_queries/` - Per-query summary → `reports/SnowConvert/ETLAndBiRepointing.*.csv` ## Option Reference | Option | Description | |--------|-------------| | `-p, --powerbi-repointing <PATH>` | Path to folder of Power BI `.pbit` files to repoint to Snowflake (also rewrites embedded queries to Snowflake-compatible syntax). `.pbix` files are not supported. | ## CHECKPOINT Addendum After the calling skill's conversion CHECKPOINT, also confirm: - [ ] Repointed `.pbit` files appear in `artifacts/repointing_output/<timestamp>/<pbit_folder_name>/` - [ ] Per-query summary appears in `reports/SnowConvert/ETLAndBiRepointing.*.csv` Then return to the calling skill. ## Post-Conversion Check: Unsupported Queries After the conversion CHECKPOINT, scan the repointing report in the scai project: ```bash grep -c "Unsupported" reports/SnowConvert/ETLAndBiRepointing*.csv ``` If any rows have `Status=Unsupported`, tell the user: > *"SnowConvert successfully repointed your Power BI files, but some embedded queries could not be automatically converted. I can fix these using LLM-based translation. Would you like me to proceed?"* If the user confirms, load `./fixer/SKILL.md` to complete the repointing process. If no unsupported queries remain, the repointing is fully complete.
Pliki w paczce (15)
- SKILL.md 3 KB
- fixer/SKILL.md 12 KB
- fixer/reference/llm-translation-guide.md 30 KB
- fixer/reference/multi-source-translation-guide.md 7 KB
- fixer/reference/teradata-m-query-pattern-samples.md 13 KB
- fixer/reference/validate-dynamic-query.md 5 KB
- fixer/scripts/_console.py 1 KB
- fixer/scripts/display-results.py 1 KB
- fixer/scripts/extract-current-pbit.py 1 KB
- fixer/scripts/extract-pbit.py 1 KB
- fixer/scripts/prepare-queries-for-llm.py 7 KB
- fixer/scripts/reassemble-pbit.py 2 KB
- fixer/scripts/update-assessment-report.py 4 KB
- fixer/scripts/verify-output.py 1 KB
- fixer/scripts/verify-parameters.py 8 KB
Wersje
W bazie nie ma innych skilli o nazwie powerbi-repointing.
Migawka bazy z 13.11.2026 · wersja paczki fcb987a4aae9 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 90powerbi-modeling
Stosuje modelowanie Power BI w powtarzalnych lokalnych przepływach danych, z interfejsami zgodnymi z wersją, jawnymi założeniami i walidacją. - 100add-code-units
Dodaje lokalne pliki z kodem źródłowym do projektu migracji poleceniem scai code add, gdy pliki SQL są już na dysku i nie trzeba ich wyciągać z bazy. - 100powerbi-power-query
Pisze i naprawia kod Power Query (M) w modelach Power BI: składanie zapytań, typy kolumn, błędy, przyrostowe odświeżanie. - 100fabric-cli-powerbi
Wykonuje operacje Power BI przez Fabric CLI: modele semantyczne, raporty, zapytania DAX, odświeżanie, bramy i diagnozowanie błędów odświeżania. - 100powerbi-airflow-to-orchestra
Konwertuje zadanie Airflow z PowerBIDatasetRefreshOperator na równoważne zadanie potoku Orchestra odświeżające zbiór danych w Power BI. - 100dbt-quality
Sprawdza jakość projektów dbt statycznie serwerem MCP i CLI dbt-quality, bez uruchamiania dbt i hurtowni: audyt, raport HTML, lint modeli, ustalenia SSC-EWI-DBT i zgodność kolumn z DDL scai.