Scenario: I have a Power BI database/report that uses incremental refresh. I am trying to automate the update of this DB schema (the .pbit file) to include in our CI/CD pipeline. I've looked at using the MicrosoftPowerBiMgmt PowerShell module, followed the docs, and I'm stuck.
Ultimate Goal: Whenever someone updates the dev branch for our PowerBI Report, I want to push schema-only updates to the DEV and TEST Power BI workspaces.
Background: I have read the MS docs on Dataset Refreshes, incremental refreshes, troubleshooting incremental refreshes, and advanced incremental refreshes. The latter link points to using the ALM Toolkit to perform metadata-only updates, rather than using the PowerShell module. Reading through the ALM Toolkit documentation (it refers to itself as BISM Normalizer rather than ALM Toolkit, somewhat confusingly; go to either alm-toolkit.com or bism-normalizer.com to see they are the same) I found the command-line syntax to perform the task at hand on page 31.
Syntax: bismnormalizer.exe /SKIP:<MissingInTarget|DifferentDefinitions|MissingInSource> /LOG:logfile /SCRIPT:scriptfile
Problem: We use the ALM Toolkit (or BISM Normalizer Tool in VS) to perform this operation manually, and we manually select certain columns to Skip (like the DB name, environment, rangestart, rangeend) when we do the compare/update. The command-line appears to limit me to 3 options for the SKIP parameter: MissingInTarget, MissingInSource, and DifferentDefinitions. This appears to apply to all columns/measures, and therefore I cannot skip certain changed fields while including others.
Is there a way to do this? Maybe by generating the script and then modifying it? Does anybody to this in their CI/CD pipeline?