Forum Discussion

hellgoingon's avatar
hellgoingon
Icon for Helper II rankHelper II
9 years ago
Solved

filled map problem with state (California and CA)

Hi all,

 

I'm using "Filled map" to display number of customers in each states. Below are my data

 

Customer          State

A                        CA

B                        California

C                        California

D                        CA

E                         NY

F                         New York

 

When using Filled-map, i have:

CA has 2 customers

NY has 1 customer

 

How can i have below data?

CA has 4 customers

NY has 2 customers

  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi hellgoingon,

     

    I'd like to suggest you convert these state to same format, then calculate on it.

     

    Reference link:

    Multi Condition Logic In Power Query


    In addtion, if you want to use abbreviation of the location, you'd better use three-letter abbreviation to ensure the abbreviation text works well in map visual, please take a look at following link to know more about this.

    Tips and Tricks for Power BI Map visualizations

     

    Note:

    When working with countries or regions, use the three-letter abbreviation to ensure that geocoding works properly in map visualizations. Do not use two-letter abbreviations, as some countries or regions may not be properly recognized.

    If you only have two-letter abbreviations, check out this external blog post for steps on how to associate your two-letter country/region abbreviations with three-letter country/region abbreviations.

     

    Regards,

    Xiaoxin Sheng

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi hellgoingon,

     

    I'd like to suggest you convert these state to same format, then calculate on it.

     

    Reference link:

    Multi Condition Logic In Power Query


    In addtion, if you want to use abbreviation of the location, you'd better use three-letter abbreviation to ensure the abbreviation text works well in map visual, please take a look at following link to know more about this.

    Tips and Tricks for Power BI Map visualizations

     

    Note:

    When working with countries or regions, use the three-letter abbreviation to ensure that geocoding works properly in map visualizations. Do not use two-letter abbreviations, as some countries or regions may not be properly recognized.

    If you only have two-letter abbreviations, check out this external blog post for steps on how to associate your two-letter country/region abbreviations with three-letter country/region abbreviations.

     

    Regards,

    Xiaoxin Sheng