Forum Discussion
HTML Viewer dropping off SharePoint part of URL and Erroring
Hi Anonymous
This issue seems regarding the HTML Viewer in Power BI and the truncation of SharePoint URLs.
Ensure that the URLs in your Notes columns are correctly encoded. Special characters in URLs should be URL encoded. For example, spaces should be encoded as %20, and the /forward slash as %2F. This is crucial when URLs are parsed or processed by different systems.
Make sure that the URLs in your Notes columns are absolute URLs, including the part and the domain name(https://). Relative URLs might not resolve correctly when the report is accessed from a different base URL (e.g., when published to SharePoint).
Ensure that the integration settings between Power BI and SharePoint are correctly configured. This includes checking if there are any settings that might affect how URLs are handled or displayed within Power BI reports.
Or you might consider using a URL shortener service for your SharePoint URLs. This can help avoid issues with long URLs or special characters, although it adds an extra step in managing your links.
Here for your reference:
View Power BI files in OneDrive and SharePoint - Power BI | Microsoft Learn
Integrate Power BI reports in SharePoint Online | Microsoft Power BI Blog | Microsoft Power BI
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The links themselves are fine. They worked on the same report when the same data source was stored in my personal SharePoint, but now that I've moved it to the same SharePoint as the OneNote I'm trying to link to, now it's truncating. I'm trying to look in both settings for any integration issues between Power BI and SharePoint that would be causing the issue with the URLs and I'm not seeing anything in Power BI Options or SharePoint settings