- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Measure name still appearing in .pbip JSON
Hi - we are using the "Power BI Project (.pbip) save option" preview feature to convert our reports into JSON (great must have feature to enable sharing/collaboration/automation on report visualization building).
However, we have noticed that when we replace a measure in a visual component with a new measure, the old measure name is still appearing in the JSON.
For example, we have a Matrix visual in a report and it is displaying "[Old_Measure]"; when we replace it with a separate "[New_Measure]" and completely remove "[Old_Measure]" from the Power BI service Dataset the report is connected to, the underlying JSON metadata is still showing "[Old_Measure]".
Has anyone seen this or know what may be causing this?
The .pbip JSON feature is not designed as we would have expected - it is one giant JSON and it is hard to read, but more critically, that creates challenges for git collaboration and increases risk of merge conflicts. We expected that it would be set up as JSON files inside a folder directory tree, similar to how Dataset model definitions are set up when deploying through XMLA endpoint/Tabular Editor.
Ideal folder structure (with associated JSON configurations at each level):
Report => Page => Visual/Component
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you ellaborate if you are seeing the old measure in report.json or the model.bim? How did you changed the measure name, using Power BI Desktop with dataset and report opened?
> The .pbip JSON feature is not designed as we would have expected
We are working to improve this. Don't have a timeline to share at this point, but I can tell its a big priority for us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @mbbozzuto ,
I have tried and simulate your steps and was not abble to replicate the result, when I replace one measure by other and remove it from the report on the JSON file the old measure does not show anymore.
Have you refresh the dataset on your report after deleting the measure?
Try to place the question on the issues part of the forum, someone in the dev team may get in touch.
Regards
Miguel Félix
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
Check out my blog: Power BI em Português- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi, i had the same exact issue with a measure used on a Matrix. My CI/CD pipepline flaged it as a mis-match between Measures in the report layer and dataset layer. This is an issue that has to looked at.... In my case I deleted the measure saved the pbix, I then recreated the measure saved again the pbix and then saved it as pbip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks @Stefanos_Ch, I'm "glad" that someone else is experiencing the same issue to corroborate it. Agreed that this is something that needs to be looked at and fixed by Microsoft.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-10-2024 04:17 PM | |||
10-16-2024 04:00 PM | |||
11-07-2024 12:32 PM | |||
Anonymous
| 11-27-2023 02:59 AM | ||
07-12-2024 10:19 AM |
User | Count |
---|---|
141 | |
112 | |
83 | |
63 | |
47 |