Skip to content

Include a "Latest" folder for schemas that have multiple versions #344

Open
@jslatane

Description

@jslatane

I found my way to this repo because I have recently started converting quite a few Power BI reports from .pbix to .pbip files using these Preview features:

  • Power BI Project (.pbip) save option
    • Store semantic model using TMDL format
    • Store reports using enhanced metadata format (PBIR)

This has been overall a very positive experience but what I am noticing now is that when I track these files using Git, there are quite a few changes that are simply visual.json files where the top-level "$schema" value changed from one version to another. For example, I have quite a few diffs like this:

-  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.5.0/schema.json",
+  "$schema": "https://developer.microsoft.com/json-schemas/fabric/item/report/definition/visualContainer/1.7.0/schema.json",

I really don't care what version it was before or got changed to and would rather not have this cluttering up my Git history or have to bother with it when committing files.

I realize maybe this request would better belong elsewhere but my thought is, would it be possible to have these schema contain a "Latest" folder and just have Power BI reference that folder (since it's obviously getting set to that anyway)? Maybe there are many reasons not to do this, but wanted to ask the question at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions