Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8834129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:56:35+00:00 2026-06-14T08:56:35+00:00

I have pretty much nailed my project for work now after going round in

  • 0

I have pretty much nailed my project for work now after going round in circles and ending up where my foray into Google Maps and the Fusion table examples all began, with Derek Eder’s Searchable Template examples. My challenge lies with the tickboxes and more importantly the data within the fusion table and the query. Derek’s example (see link) relies solely on a column named ‘Type’ which contains a single numeric in any given row. Now I have the same column but where my challenge lies is that it can contain more than one single numeric. So ‘1,3’ or ‘2,3’ or ‘1,2,4,5’. In my case indicating that the store sells these types of products where 1 could be bags, 3 could be tennis rackets etc. Now I haven’t been able to nail this query and code tonight and time is pressing so I’ve had to come to StackOverflow and ask you brilliant people for assistance. For now, it doesn’t make any difference if I space separated these values or if I comma separate them or even if I change the column type within fusion tables to text from being numeric and issue a LIKE query of sorts.

From a data layout it’s relatively straight forward to output it as individual columns with a 1 or a 0 but I was strictly following Derek’s examples as he’d even added comments within the code.

Well anyway, here’s hoping you guys have already nailed it. Let me know if you need a link but for the time being as I’ve hardly even moved away from Derek’s example I though I wouldn’t need to do that.

Thanks in advance,
Richard.


thanks for the response. The database in this case is a standard spreadsheet imported to Fusion Tables. I appreciate what you say but this isn’t an option as this is Excel we’re talking about here and the file’s being passed down from a marketing department.

The current format of the fusion table I have is along these lines

accountid | add1 | add2 | add3 | poastcode | prodtype1 | prodtype2 | prodtype3 |     prodtype4 
==========================================================================================
 123456     blah   blah   blah   SG18 1DF      1             1          0           0
 234567     blah   blah   blah   SG18 2DF      0             0          1           0

I was only seeing if the above could be translated to work with Derek Eder’s search template example using his specific filtering instructions. So the below was an idea.

accountid | add1 | add2 | add3 | poastcode | type |
===================================================
 123456     blah   blah   blah   SG18 1DF    1,2,4

or if that didn’t work,

accountid | add1 | add2 | add3 | poastcode | type |
===================================================
 123456     blah   blah   blah   SG18 1DF    1 2 4

I have big concerns over implementing your suggestion as it’s beyond the scope of this project realistically and also wouldn’t the joined table simply increase the overall record count thus falsely boosting number of records. I don’t want to solve one challenge and then create another.

Hope you appreciate where I’m at. I just need to keep this within the spreadsheet world.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:56:36+00:00Added an answer on June 14, 2026 at 8:56 am

    If you look at your problem from the database point of view, you should not use a single cell to contain multiple values, because it only gives you headaches and troubles. Sometimes it might be a good idea to boost the performance, but this is only the case if you know what you’re doing 🙂

    Your problem could be easily solved with two tables. Your first table contains your current data, and the second one is used to map your data to one or more types.

    1. Data

      data_id | data | location
      ===========================
         1    |  xy  | somethere 
         2    |  az  | moon
        31    |  bla | elm street
      
    2. Mapping to types

      data_id | type
      ================
         1    |  1
         1    |  3
         1    |  4
        31    |  2
      
    3. Then you can JOIN the two tables to get the desired result:

      data_id | data | location   | type
      ===================================
         1    |  xy  | somethere  | 1
         1    |  xy  | somethere  | 3
         1    |  xy  | somethere  | 4
         2    |  az  | moon       |
        31    |  bla | elm street | 2
      

    In Google Fusion Tables you can join two tables by merging them, this equals a LEFT OUTER JOIN.

    After that you have again the old setting with only one type per cell, but you’re able to express that one row has multiple types.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have pretty much finished my first WPF project after several weeks. Now I
Consider the apps that large blogs have (which work pretty much like an RSS
Right now I'm building a personal site/blog and have pretty much got it they
I have built a PHP calendar system and have pretty much everything done but
I have read pretty much the entire documentation even beyond on the AWS AS
Dependency Injection frameworks in Ruby have been pretty much declared unnecessary. Jamis Buck wrote
I'm making some game, and I have made it pretty much all, but not
This is pretty much the same problem i have, except with very different code:
The question pretty much says it all. I have a joomla website and I
I have a function that remains pretty much constant except for the changing class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.