Discussões
Community Articles: What Topic Should We Cover Next? Your idea could be our next feature—drop your suggestion now and spark the next big discussion!
Pergunta de fórmula do tipo CASE WHEN
Como posso fazer uma declaração Case When para uma pesquisa salva? Ou seja:
If A or B then 1 else if C or D then 2 else if E or F then 3
Ou mais especificamente:
case when {entitystatus}='A' or {entitystatus}='B' then 1 else case when {entitystatus}='C' or {entitystatus}='D' then 2 else case when {entitystatus}='E' or {entitystatus}='F' then 3 end
Não consigo fazer a combinação correta usando parêntesis, CASE WHEN, ELSE CASE WHEN. Existe alguma forma melhor de criar a declaração?
Rotulado:
1
Olá, bem-vind@!
Faça login
Para ver todos os detalhes, faça o login.
Cadastre-se
Não tem uma conta? Clique aqui para começar!