Forum Discussion
Problems with Parameter Fields
- 12 days ago
Hi HellNah,
You may be onto something there. If the new field gets added to the Field Parameter table but the change never makes it into the visual.json, that would explain why everything looks fine in Desktop initially but appears broken after a save, commit, or reopen.
What I'd check next is whether Source Control is only picking up the Field Parameter table change and not the visual metadata change. When you add a field to a Field Parameter, Power BI actually updates two things:
- The Field Parameter table definition in the semantic model.
- The visual configuration that references the parameter selection.
If the parameter table gets updated but the visual.json doesn't, the visual can end up pointing to an older version of the parameter definition. Manually editing visual.json and seeing it work again is a strong indication that's where the disconnect is happening.
A few things worth testing:
- After adding a new field to the parameter, save the report and immediately inspect the changed files before committing. Check whether visual.json is listed as modified.
- Make sure all report changes are saved before committing. I've seen cases where model changes are written to disk but visual metadata isn't fully serialized until another save.
- Try creating a completely new visual that uses the updated Field Parameter. If the new visual writes the correct metadata while existing visuals don't, the issue may be related to how Power BI updates existing visual definitions.
- Have another developer perform the same change on the same Power BI Desktop version. If they can reproduce it, that points more toward a Desktop/source control issue than a report-specific problem.
- If you're using PBIP format, compare the visual.json before and after adding the parameter field. The missing metadata should become obvious in the diff.
Given that the issue started shortly after the June 2026 Desktop update and you've now identified a visual.json dependency, I'd honestly lean toward a serialization bug rather than anything wrong with the parameter itself. The fact that manually updating visual.json fixes the problem suggests the Field Parameter metadata is being created correctly, but Power BI is not consistently persisting the corresponding visual changes.
If you can reproduce it in a small test PBIP, I'd recommend opening a Microsoft support ticket or reporting it through the Fabric Issues forum, because this definitely doesn't sound like expected behavior.
Hey ShahRukhSameer,
thanks for you quick support.
I checked everything you suggested and I think I found the issue (however not the cause for the issue).
After adding the columns to field Parameter they are not inserted into the visual. The only thing that seemed to work is to manually add the code into the corresponding visual.json file before committing and then reopening.
Do you have an idea why PowerBI/Source control behaves like that or how to fix that?
Hi HellNah,
You may be onto something there. If the new field gets added to the Field Parameter table but the change never makes it into the visual.json, that would explain why everything looks fine in Desktop initially but appears broken after a save, commit, or reopen.
What I'd check next is whether Source Control is only picking up the Field Parameter table change and not the visual metadata change. When you add a field to a Field Parameter, Power BI actually updates two things:
- The Field Parameter table definition in the semantic model.
- The visual configuration that references the parameter selection.
If the parameter table gets updated but the visual.json doesn't, the visual can end up pointing to an older version of the parameter definition. Manually editing visual.json and seeing it work again is a strong indication that's where the disconnect is happening.
A few things worth testing:
- After adding a new field to the parameter, save the report and immediately inspect the changed files before committing. Check whether visual.json is listed as modified.
- Make sure all report changes are saved before committing. I've seen cases where model changes are written to disk but visual metadata isn't fully serialized until another save.
- Try creating a completely new visual that uses the updated Field Parameter. If the new visual writes the correct metadata while existing visuals don't, the issue may be related to how Power BI updates existing visual definitions.
- Have another developer perform the same change on the same Power BI Desktop version. If they can reproduce it, that points more toward a Desktop/source control issue than a report-specific problem.
- If you're using PBIP format, compare the visual.json before and after adding the parameter field. The missing metadata should become obvious in the diff.
Given that the issue started shortly after the June 2026 Desktop update and you've now identified a visual.json dependency, I'd honestly lean toward a serialization bug rather than anything wrong with the parameter itself. The fact that manually updating visual.json fixes the problem suggests the Field Parameter metadata is being created correctly, but Power BI is not consistently persisting the corresponding visual changes.
If you can reproduce it in a small test PBIP, I'd recommend opening a Microsoft support ticket or reporting it through the Fabric Issues forum, because this definitely doesn't sound like expected behavior.
- HellNah11 days agoNew Member
Hey ShahRukhSameer,
after going through your suggestions I am rather certain now, that it has something to do with source control/serialization, since in reports I use for testing, that aren't developed with source control, this bug does not appear.
I will open a support ticket with Microsoft to see wether they can put their finger on the issue 🙂
Until then I at least can manually add the code before committing
Thanks for your support