Forum Discussion
Value cannot be null. Parameter name: Non-null assertion failure: mFormulaText
- 1 year ago
Hi martinmcmillan -
Check your GIT repo for corrupted or incomplete .m definitions:
Go to YourProjectFolder\DataModel\
Open the affected table folders (each table should have a .m file)
Look for any empty or missing .m files (especially for tables created from Query Editor or manual definitions)
Revert the DataModel and DataModelSchema folders to a working commit:
Even if you reverted the whole project, verify specifically that the *.m files are not null or blank.
Restore from a version that successfully opened before the sync/merge.
Clean and re-clone the repository:
Sometimes your local repo may cache corrupted metadata.
Delete your local repo, then re-clone from the remote, preferably from a known-good commit.
Use Power BI Desktop December 2024 or earlier:
The March 2025 update introduced more aggressive validation and may break loading PBIP projects with minor issues.
Try opening the PBIP with an older version and see if it loads.
Hi martinmcmillan ,
Has the issue been resolved on your end? If so, please share your solution and mark it as "Accept as Solution." This will assist others in the community who are dealing with similar problems and help them find a solution more quickly.
Thank you.