starschema / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381472?tab=Overview
MIT License
34 stars 9 forks source link

[BUG] - Tooltip does not retain data field formatting #50

Open aggrimm opened 2 years ago

aggrimm commented 2 years ago

If you have a data field formatted so that large numbers are displayed with commas as a thousands separator, the commas are not displayed when that field is added to the tooltip

To Reproduce Steps to reproduce the behavior:

  1. Add a column of numeric data with values of at least 1000 to the tooltip field for a mapbox visual
  2. Go to the Data view and select that column
  3. In the Formatting section, click the comma icon to display the values in that column with commas as a thousands separator
  4. Return to Report view and hover over a map feature to see tooltip

Expected behavior If the field is formatted to use commas as a thousands separator, the values should also display that way in the tooltip, the way they would in Power BI's built-in map visualizations

Screenshots image

mate-turi commented 2 years ago

Confirmed issue. To be fixed.