r/dataanalysis • • 1d ago

Data Question How Do You Avoid Duplicate Feedback When One Survey Fits Multiple Categories?

I have a question I'm hoping the community can help with.

When working with customer feedback survey data, we have multiple questions covering different offerings. The responses go through Caplena logic for categorization but a single survey response can land in multiple categories, which causes the same customer feedback to appear multiple times.

How do you handle this to avoid duplication? Would appreciate any insights or best practices.

2 Upvotes

10 comments sorted by

2

u/practiceladder 18h ago

There are usually two kinds of duplication here, and they need different fixes:

1. One response, several categories (from Caplena). That's normal for multi-label coding, so don't try to remove it. Just keep two counts apart:

  • Mentions: count every (response, category) pair. This tells you how often each topic comes up.
  • Respondents: count distinct respondent IDs. Use this for totals and for any "% of customers".

The double counting usually happens when the category counts get added up to make a total. Category percentages can add up to more than 100%. A note on the chart, like "one response can mention several topics", covers it.

2. One customer, same feedback across several questions. Because you have multiple open questions, the same person can raise "slow delivery" in two of them. If you want to count people rather than comments, deduplicate on respondent ID + category: one row per customer per category, whichever question it came from. Keep a column listing the questions it appeared in, so the detail isn't lost.

If you ever need exactly one category per response (e.g., for a pie chart), pick a rule: the highest-confidence category or a fixed priority order. Put it in a separate "primary category" column so the multi-category view stays available.

1

u/Entrepreneur_Guy92 7h ago

Thanks, that framing is really clear, and it matches where I landed. I’m keeping one row per respondent per category and reporting both mentions and distinct respondents, with “% of respondents” for anything customer level and a note that percentages exceed 100%.

One thing I realized: in our setup the open text answers get combined into a single string before they’re coded, so I can’t tell which question a theme came from. If I work from the raw survey responses instead, each open question stays in its own column, so I can build my own logic from there, including the question list column you suggested. The catch is that the category labels come from the coding tool, so I’d need each question coded separately to keep that link.

1

u/Kusz-Lagno 6h ago

deduplicating on respondent ID + category works unless the questions are about different offerings like OP mentioned, otherwise you hide which product actually had the slow delivery

2

u/syntheticcfo 14h ago

One more option that hasn't come up yet is a weight column. If a response lands in three categories, each of those rows gets a weight of one third, so when you sum the weights by category the totals add back to your real number of responses. Finance people do the same thing when one invoice is split across several cost centres, and it stops anyone adding up the category counts and ending up with more feedback than you actually received. I'd still use distinct response IDs for the headline percentages and keep the weighted view for when someone wants a breakdown that adds to 100 percent. It's also worth checking how often a response gets three or more labels, because if that happens a lot the categories might be too broad to begin with.

1

u/Entrepreneur_Guy92 7h ago

That’s a nice addition. A weight column makes sense for the cases where someone wants a breakdown that adds to 100%, and I’d keep distinct respondents for the headline percentages as you suggest.

I ran your check on our data. About 70% of responses land in two or more categories and about 38% in three or more, averaging 2.3 per response. I suspect a lot of that comes from our open text answers being combined into one string before coding, so a single response mixes several topics. I’m going to test coding the questions separately to see whether that number drops, and only revisit the category definitions if it doesn’t.

1

u/Wheres_my_warg DA Moderator 📊 1d ago

It's a choice depending on what business question one is trying to answer and what approach is most useful for that. It's a choice that our practice would have required us to make when doing the analytics plan before the instrument ever fielded.

For most of what we do, the count would be duplicated. It would be treated like a select all that apply question for the coded variables. Quotes when used would only be selected, we aren't presenting all statements in a report.

1

u/Entrepreneur_Guy92 23h ago

Thanks again, that’s useful, and it clarified the problem for me. It turned out to be less about how we count and more about how the data is structured.

The data we work with is a flattened table where each row is one response × one Caplena label, joined to response level fields like the score and rating. So every score repeats on each label row, and a simple row count or average gets inflated.

What makes it harder to dedupe is that the open-text answers from the survey are combined into one string before coding. Caplena tags the whole string, so the same sentence legitimately shows up under several categories. In a few cases, the same label even appeared twice for one person with opposite sentiment, because one answer praised something and another criticized it.

What’s working is splitting it into two tables, one row per response for scores and grouping fields, and one row per response × category for themes. Then I report “% of responses with a negative mention of X” using distinct response IDs, so duplicates can’t inflate anything. It’s basically your select all that apply approach with the denominator stated clearly.

Do you code each open-text question separately before combining, or code the combined text? I suspect coding per question would avoid the category overlap, but I haven’t seen how that plays out in practice.

1

u/stantaneous 8h ago

i'd tag each answer on its own. someone can love the delivery speed and hate the packaging, and mashing the answers together makes it harder to tell which bit got tagged. if they bring up slow delivery twice, count them once in the slow-delivery number but keep both answers in the detail.

1

u/Entrepreneur_Guy92 6h ago

That makes sense, and the example is a good one. We actually see that in our data: the same topic showing up as both positive and negative for one person, because the answers were combined before coding. I’m going to move to tagging each answer on its own, keeping one detail row per answer and counting a customer once per topic in the summary numbers. That also gives me the question level detail that’s missing now. Thanks, this has helped me settle on an approach.

1

u/AutoModerator 1d ago

Automod prevents all posts from being displayed until moderators have reviewed them. Do not delete your post or there will be nothing for the mods to review. Mods selectively choose what is permitted to be posted in r/DataAnalysis.

If your post involves Career-focused questions, including resume reviews, how to learn DA and how to get into a DA job, then the post does not belong here, but instead belongs in our sister-subreddit, r/DataAnalysisCareers.

Have you read the rules?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.