Forum Discussion

kevinsray's avatar
kevinsray
Helper II
7 years ago
Solved

How to change field values

I am still very new to PowerBi and would like to ask for some advice.

I have a SQL DB, and the table I am referencing has a STATE column.
The values in this are like WA, NT, SA, NSW, QLD, VIC.

I am trying to create a Filled Map, but can`t get the states to map correctly.

So, my question is, is there a way to make PowerBi read the State column, and if the value is "NT", have it use "Northern Territory" to plot on the map?

 

Any advice would be greatly appreciated.

  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi kevinsray ,

    You can consider to add a mapping table with full description state and abbreviation state, then related column as state field and use on your map visual.

    As official document mentioned, I'm not so recommend to use abbreviation locations on map visual:

    Tips and Tricks for Power BI Map visualizations

    Regards,

    Xiaoxin Sheng

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi kevinsray ,

    You can consider to add a mapping table with full description state and abbreviation state, then related column as state field and use on your map visual.

    As official document mentioned, I'm not so recommend to use abbreviation locations on map visual:

    Tips and Tricks for Power BI Map visualizations

    Regards,

    Xiaoxin Sheng