Skip to main content
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Helper II
Helper II

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


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.



Super User
Super User

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.


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

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.

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors