10000 GitHub - RuiRomano/pbip-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

RuiRomano/pbip-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpa deploy

This repository showcases a Power BI Project (PBIP) folder structure in the src folder, featuring multiple reports and semantic models.

graph TD
  Report01.Report --> Model01.SemanticModel
  Report02.Report --> Model01.SemanticModel
  Report03.Report --> Model01.SemanticModel
  Report04.Report --> Model02.SemanticModel
  Report05.Report --> Model03.SemanticModel

Loading

It also demonstrates how to PBIP to a Fabric workspace using Fabric CRUD REST APIs together with fabric-cicd and run how to automatically run best practice analysis.

Deployment with Github Actions and fabric-cicd

  • Fork the repo.
  • Create a Service Principal and configure required Github secrets and variables in your repo if you wish to test deployment from GitHub.
  • Create the target Fabric Workspace and add the service principal as Admin.
  • Run the deploy Github action to deploy content to the workspace.

Secrets and variables

Before running the Github Action, ensure you configure the following GitHub action secrets and variables:

Name Type Value
FABRIC_CLIENT_ID Secret Service Principal client ID from your tenant
FABRIC_CLIENT_SECRET Secret Service Principal secret
FABRIC_TENANT_ID Secret Your tenant ID

Local deployment with script and fabric-cicd

  • Make sure you have the Fabric CICD installed. If not, run:
    $ pip install fabric-cicd 
  • Create the target Fabric Workspace
  • Run the deploy.py

Run Best Practice Analysis

  • Manually bpa Github action or after a pull-request against main branch
  • You can also run locally by running the script bpa.ps1

GitHub Copilot

You can use GitHub Copilot to modify your PBIP files more efficiently—for example, by setting descriptions across all semantic model objects. This project includes a copilot-instructions.md file that guides Copilot to work more effectively with TMDL files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0