Repository navigation
Automation Tools
The repository includes Automation tools folder where you can find automations that can help you govern Power BI Custom Visuals.
Every day at 23:00 UTC, the Refresh All workflow runs DownloadMetadata.py and DownloadVisuals.py and commits what changed. When the catalog changed, it also runs SummarizeDiff.py, posts the result as the daily change report in Announcements, and runs AnalyzeLeaderboard.py to update leaderboard_data.csv. When the refresh succeeds, the Custom Visuals Marketplace website is rebuilt from the new data.
An Excel macro-enabled workbook that downloads the current snapshot of the custom visuals from Microsoft Marketplace in bulk. Learn more about it here.
The DownloadMetadata.py Python script downloads the latest metadata of the Power BI custom visuals on Microsoft Marketplace, and writes Custom Visuals.csv, Visuals Summary.csv, Visuals Summary.md and Unlisted Visuals.csv in the root folder.
The DownloadVisuals.py Python script downloads new content from Microsoft Marketplace and maintains the files in the repository:
- The script downloads .pbiviz files of new versions and new visuals by comparing the latest Visuals Summary.csv file and the content in the repository.
- Sample reports (.pbix) and thumbnails are downloaded as well.
- Visuals move to their corresponding folders based on their new status:
- Newly certified visuals move to the Certified folder.
- Previously certified visuals that are no longer certified move to the Uncertified folder.
- Visuals that are no longer available on Microsoft Marketplace move to the Unlisted folder.
- The content inside the pbiviz files is extracted to the Extracted folder. This folder is designed to support organizations in their approval process of custom visuals. The folder is organized into subfolders named by the visual's GUID and version number, and makes it easier for your team to automate auditing of third-party visuals.
- In VS Code, clone the GitHub repo using this link: https://github.com/DataChant/PowerBI-Visuals-Marketplace.git. A full clone downloads several gigabytes, because the repository holds every visual package.
- If this is not your first time using the repo in VS Code, make sure you pull the latest changes.
- In VS Code, open
DownloadVisuals.pyand run it from the root folder of the repository.
The SummarizeDiff.py script compares two snapshots of the custom visuals on Microsoft Marketplace and generates a summary of the changes between the two snapshots. The output is stored in the root folder as visual_summary_diff.md (see example here).
- If this is the first time using PowerBI-Visuals-Marketplace, make sure you already performed steps 1 and 2 in the previous section.
- Select the snapshots to compare by their commit dates, and pass them to the script from the root folder of the repository:
Either date can be
python "Automation tools/SummarizeDiff.py" --latest 2026-10-02 --previous 2026-10-01auto. Withauto, the script uses the latest or the previous commit that changedCustom Visuals.csv. - The differences between the two snapshots are described in visual_summary_diff.md in the main folder.
- Right-click on visual_summary_diff.md and select Open Preview in VS Code to view the changes between commits.
The AnalyzeLeaderboard.py script reads every revision of Custom Visuals.csv in the history of this repository and writes leaderboard_data.csv in the root folder. The file holds one row for every visual in every snapshot, with its version, popularity and ratings, and the website's Leaderboard and Replay are built from it.
