{"id":39698219,"url":"https://github.com/databricks-solutions/power-bi-on-databricks-quickstarts","last_synced_at":"2026-01-18T10:19:12.394Z","repository":{"id":312145674,"uuid":"1015508091","full_name":"databricks-solutions/power-bi-on-databricks-quickstarts","owner":"databricks-solutions","description":"The repo contains quickstart templates and best practices using Power BI on Databricks SQL, focusing on performance, scalabilty, and operational and cost efficiency","archived":false,"fork":false,"pushed_at":"2025-12-22T10:31:28.000Z","size":14755,"stargazers_count":37,"open_issues_count":1,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-23T20:58:27.799Z","etag":null,"topics":["best-practices","databricks","databricks-sql","dbsql","performance-optimization","power-bi","powerbi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/databricks-solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS.txt","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.md","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-07T15:53:48.000Z","updated_at":"2025-12-03T18:45:46.000Z","dependencies_parsed_at":"2025-08-29T01:47:02.444Z","dependency_job_id":null,"html_url":"https://github.com/databricks-solutions/power-bi-on-databricks-quickstarts","commit_stats":null,"previous_names":["databricks-solutions/power-bi-on-databricks-quickstarts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/databricks-solutions/power-bi-on-databricks-quickstarts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databricks-solutions%2Fpower-bi-on-databricks-quickstarts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databricks-solutions%2Fpower-bi-on-databricks-quickstarts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databricks-solutions%2Fpower-bi-on-databricks-quickstarts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databricks-solutions%2Fpower-bi-on-databricks-quickstarts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/databricks-solutions","download_url":"https://codeload.github.com/databricks-solutions/power-bi-on-databricks-quickstarts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/databricks-solutions%2Fpower-bi-on-databricks-quickstarts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["best-practices","databricks","databricks-sql","dbsql","performance-optimization","power-bi","powerbi"],"created_at":"2026-01-18T10:19:11.893Z","updated_at":"2026-01-18T10:19:12.386Z","avatar_url":"https://github.com/databricks-solutions.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :clipboard: Power BI on Databricks SQL - QuickStarts :rocket:\n\n\n## Introduction\n\nThis repo contains the quickstarts demonstrating the usage of [Power BI](https://powerbi.microsoft.com/) on [Databricks SQL](https://www.databricks.com/product/databricks-sql). The objective of these quickstarts is to demonstrate reference implementation and some of the best practices using Power BI on Databricks SQL.\n\nFor quick access to [this repository](./) and [Best Practices Cheat Sheet](https://www.databricks.com/sites/default/files/2025-04/2025-04-power-bi-on-databricks-best-practices-cheat-sheet.pdf) please use the QR-code below. 👇\n\n\n| QuickStart Samples repo | Best Practices Cheat Sheet |\n| ------ | ----------- |\n| \u003cp align=\"center\"\u003e \u003cimg width=\"35%\" src=\"./images/qrcode-repo.png\" /\u003e \u003c/p\u003e | \u003cp align=\"center\"\u003e \u003cimg width=\"30%\" src=\"./images/qrcode-cheatsheet.png\" /\u003e \u003c/p\u003e |\n\n\n\n## Table of Contents\n\n| #  | Folder                                                                                         | Description |\n| -- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------- |\n| 00 | [Best Practices Cheat Sheet](00.%20Best%20Practices%20Cheat%20Sheet/)                          | Power BI on Databricks Best Practices Cheat Sheet    |\n| 01 | [Connection Parameters](01.%20Connection%20Parameters/)                                        | Use Power BI parameters to efficiently manage connections to Databricks SQL    |\n| 02 | [Storage Modes](./02.%20Storage%20Modes/)                                                      | Use storage modes efficiently - DirectQuery vs Dual vs Import    |\n| 03 | [Logical Partitioning](./03.%20Logical%20Partitioning/)                                        | Improving data refresh performance with Power BI partitioning    |\n| 04 | [Query Parallelization](./04.%20Query%20Parallelization/)                                      | Improve Power BI DirectQuery performance by tuning query parallelization    |\n| 05 | [User-defined Aggregations](./05.%20User-defined%20Aggregations/)                              | Improve Power BI DirectQuery performance by using User-defined aggregations    |\n| 06 | [Dynamic M Query Parameters](./06.%20Dynamic%20M%20Query%20Parameters/)                        |  Use Dynamic M Query Parameters for better control over SQL-query generation and performance optimization   |\n| 07 | [Query optimization using PK](./07.%20Query%20optimization%20using%20PK/)                      |  Query optimization using primary key constraints   |\n| 08 | [Automatic aggregations](./08.%20Automatic%20aggregations/)                                    |  Improve Power BI DirectQuery performance by using Automatic aggregations   |\n| 09 | [Private Connections](./09.%20Private%20Connections/)                                          |  Private connections to Databricks Workspaces from Power BI Service   |\n| 10 | [Pushdown Calculations](10.%20Pushdown%20Calculations/)                                        |  Improve Power BI DirectQuery performance by pushing calculations down to Databricks SQL  |\n| 11 | [Generated vs Persisted dimensions](./11.%20Generated%20vs%20Persisted%20dimension/)           |  Improve Power BI DirectQuery performance by using generated vs persisted dimension tables  |\n| 12 | [Collations](./12.%20Collations/)                                                              |  Use Collations for case-insensitive search and filtering  |\n| 13 | [M2M OAuth Credentials Management](./13.%20M2M%20OAuth%20Credentials%20Management/)            |  Use M2M OAuth authentication for non-interactive workloads  |\n| 14 | [Data Source Default Max Connections](./14.%20Data%20Source%20Default%20Max%20Connections/)    |  Use Data Source Default Max Connections for high-concurrency workloads  |\n| 15 | [Calendar-based Time Intelligence](15.%20Calendar-based%20Time%20Intelligence/)                |  Use Calendar-based Time Intelligence for more efficient SQL-queries  |\n\n\n## How to get help\n\nDatabricks support doesn't cover this content. For questions or bugs, please open a GitHub issue and the team will help on a best effort basis.\n\n\n## License\n\n\u0026copy; 2025 Databricks, Inc. All rights reserved. The source code in this repository is provided subject to the [Databricks License](https://databricks.com/db-license-source).  All included or referenced third party libraries are subject to the licenses set forth below.\n\n\n| library                                | description.               | license    | source                                                            |\n|----------------------------------------|----------------------------|------------|-------------------------------------------------------------------|\n| PowerBI-Developer-Samples              | Power BI Developer Samples | MIT        | [Github](https://github.com/microsoft/PowerBI-Developer-Samples/) |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabricks-solutions%2Fpower-bi-on-databricks-quickstarts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatabricks-solutions%2Fpower-bi-on-databricks-quickstarts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabricks-solutions%2Fpower-bi-on-databricks-quickstarts/lists"}