Hmm, as mentioned, I don't think Total is actually a case of fct_collapse(), but there are probably elements of what's going on that are related to Shiny. So, I'd recommend you move this over to the shiny category so you can get more knowledgeable help!