Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have installed latest PowerBI Desktop file in my machine and when try to open it ending with the below XML error message.
There is an error in XML document (1,1)
And Data at the root level is invalid. Line 1,Position1
Also I tried uninstalling and install it again.. but still remains same issue and I tried removing the desktop files from this loaction (C:\users\{user}\Appdata\local).. but no response..
Kindly help me to open the PBIX file without the XML issue.
Hi @SaravananM ,
Whether your problem still persist? If no, could you please mark the helpful post as Answered? If you solved the problem in another way, you are welcome to share it too. This will help others in the community who have similar problems to yours to find a solution as soon as possible. Thank you for your sharing. Much appreciated!
Best Regards
Hi @SaravananM ,
What is the version of Power BI Desktop you are using? Did you get an error when you open any report file with it or a particular report file? Please check if your computer meets the minimum requirements to run Power BI Desktop?
Also, please check and try the solutions in the following thread to see if they solve your problem.
There is an error in XML document (1, 1).
As document suggested, please try:
- Uninstall or stop the Power BI On-Premises Data Gateway Windows service
- Run Power BI desktop with administartor privilege
Besides, as mentioned in this similar thread, please delete the AppData folder for Power BI Desktop for a test.
Best Regards
@SaravananM , Uninstall, clear tmp file and try to install OCt-2021 version from here and check https://docs.microsoft.com/en-us/power-bi/desktop-latest-update-archive
HI Amit,
I have tried uninstall the PowerBi Desktop and cleared the temp file and installed the latest version..
But the issuse still remains same..
There is an error in XML document (1,1)
And Data at the root level is invalid. Line 1,Position1
Thanks,
Saravanan
Hi Saravanan,
Please uninstall your Power Bi Desktop Application, And Install 2021 latest Version..
Please refer below Link.
Regards,
Rakesh Js
HI Rakesh,
I have tried uninstall the PowerBi Desktop and cleared the temp file and installed the latest version..
But the issuse still remains same..
There is an error in XML document (1,1)
And Data at the root level is invalid. Line 1,Position1
Thanks,
Saravanan
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.