# Location data clean up with multiple checkboxes

**URL:** <https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** admin, workflows, enterprise\
**Created:** [June 27, 2024, 4:12pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279 "2024-06-27T16:12:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![automatedllama](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@automatedllama](https://community.hubspot.com/u/automatedllama)\
**Post date:** [June 27, 2024, 4:12pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279/1 "2024-06-27T16:12:03Z")

</div>

I’m trying to clean up location data for easier external reporting. Our target customers can have businesses in different cities and states. For example, there’s currently a multiple checkbox type for states. The unfortunate drawback to this is that once we pull the data out of Hubspot, if the customer has multiple states selected, these all get added to one row per customer separated by semicolons. (I’m aware of pivot options in Hubspot Reporting but this won’t work for our needs.)

If it’s possible, what would be the best approach to cleaning this up in Hubspot (possibly Operations Enterprise / Workflows?) before data flows out for external reporting in Snowflake / Tableau? My other step would be to tackle this in Snowflake but exploring all options.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [June 27, 2024, 4:30pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279/2 "2024-06-27T16:30:52Z")

</div>

Hi @automatedllama,

What exactly would be your desired outcome?

Best regards

---

<div class="post-metadata">

**Author:** ![automatedllama](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@automatedllama](https://community.hubspot.com/u/automatedllama)\
**Post date:** [June 27, 2024, 5:49pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279/3 "2024-06-27T17:49:55Z")

</div>

Ideally, we would still have multiple states associated with each customer when that occurs, but this would output into separate rows associated with that customer when it’s brought into Snowflake and eventually into reporting within Tableau. The current output is merging states into one row ("Colorado;Florida;Texas) instead of separate rows for each state for that one customer.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [June 27, 2024, 6:52pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279/4 "2024-06-27T18:52:11Z")

</div>

@automatedllama there is no field type in HubSpot that would support such an output: [Understand property field types in HubSpot](https://knowledge.hubspot.com/properties/property-field-types-in-hubspot)

If you want an actual one-to-many relationship (one company, multiple addresses), you would have to work with custom objects for the addresses: [Create and edit custom objects](https://knowledge.hubspot.com/object-settings/create-custom-objects)

… or find a way to transform the data before you report on it in Tableau.

---

<div class="post-metadata">

**Author:** ![automatedllama](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@automatedllama](https://community.hubspot.com/u/automatedllama)\
**Post date:** [June 29, 2024, 3:39pm UTC](https://community.hubspot.com/t/location-data-clean-up-with-multiple-checkboxes/110279/5 "2024-06-29T15:39:37Z")

</div>

Hmm, I was hoping that Hubspot would have more options available, especially now that we have access to Operations Hub. It seems like this would be a common problem that comes up so was hoping that there might be a readymade solution that I missed somewere.

My impression in general is that I’d potentially be creating a convoluted workflow, custom code, or custom objects within Hubspot. Back to the original plan of working on this within SQL!
