Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello,
I need help evaluating the feasibility of a client requirement.
I would like to display two different layers within a single visual in Power BI:
Lower Layer:
Polygons loaded directly from a GeoJSON file. These polygons should be colored based on a numeric value contained in the JSON (the higher the value, the more saturated the color should be).
Upper Layer:
Shapes representing road works (for now, let's assume these will be points).
I managed to build a visual containing both layers, but the reference layer (the polygons) remains the default light blue, and I haven't been able to change its color.
I also tried importing two separate datasets in table format (one for points and one for polygons). However, when I assign polygon geometry to the "Location" field, the points with latitude/longitude don't display correctly.
Could you please advise if this requirement is achievable in Power BI and, if so, what steps I should follow?
I truly appreciate your support.
Thank you!
Solved! Go to Solution.
Hi @Ekaterina13 ,
-- Polygons loaded directly from a GeoJSON file. These polygons should be colored based on a numeric value contained in the JSON...
-- I managed to build a visual containing both layers, but the reference layer (the polygons) remains the default light blue, and I haven't been able to change its color.
Check the fillcolor field in the .geojson file provided as an example in the reference docs:
AzureMapsCodeSamples/Static/data/geojson at main · Azure-Samples/AzureMapsCodeSamples · GitHub
Add a reference layer to Azure Maps Power BI visual - Style configuration
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Thank you, "fillcolor" helped me to have a custom colors on the polygons!
Hi @Ekaterina13 ,
-- Polygons loaded directly from a GeoJSON file. These polygons should be colored based on a numeric value contained in the JSON...
-- I managed to build a visual containing both layers, but the reference layer (the polygons) remains the default light blue, and I haven't been able to change its color.
Check the fillcolor field in the .geojson file provided as an example in the reference docs:
AzureMapsCodeSamples/Static/data/geojson at main · Azure-Samples/AzureMapsCodeSamples · GitHub
Add a reference layer to Azure Maps Power BI visual - Style configuration
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
71 | |
63 | |
49 | |
29 |
User | Count |
---|---|
119 | |
102 | |
73 | |
65 | |
40 |