Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello Power BI community,
I have been searching for hours, but can find out what's wrong. I am trying to display geojson using Azure Map visual, reference layer.
Why does this file display correctly?
But this one doesn't?
https://alexander-simon.de/adflkjweiovoijdf/GpsTrace.json
If I use curl to download both files they are identical (according to fc).
I use Power BI Desktop Version July 2024.
Same issue if I publish (Service version:13.0.23776.64)
If I click on the i Icon in the Header of the visual I get the message: Unable to load reference layer. Unable to parse file.
Any ideas?
Thanks a lot
Alex
Solved! Go to Solution.
Just figured it out by enabling PBI diagnostics:
"Access to fetch at 'https://alexander-simon.de/adflkjweiovoijdf/GpsTrace.json' from origin 'https://ms-pbi.pbi.microsoft.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."
I had to add this to the .htaccess on my web-server:
Header set Access-Control-Allow-Origin "https://ms-pbi.pbi.microsoft.com"
Just figured it out by enabling PBI diagnostics:
"Access to fetch at 'https://alexander-simon.de/adflkjweiovoijdf/GpsTrace.json' from origin 'https://ms-pbi.pbi.microsoft.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."
I had to add this to the .htaccess on my web-server:
Header set Access-Control-Allow-Origin "https://ms-pbi.pbi.microsoft.com"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
188 | |
76 | |
73 | |
54 | |
42 |