Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
wellington_silv
Newbie
Newbie

How to use the 'Case' in qlikview

Olá sou novo com qlikview gostaria de saber como altero dados da consulta

no sql eu usaria algo assim mais quando tem colocar no script da erro diz que não aceita

dados em branco alguem saberia como fazer isso funcionar ou outra forma de fazer

                        

                                case fc.sit_functional

                                           When '01' then 'ativo'

                                           When '02' then 'inativo'

                              End,

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

Pick(Match( fc.sit_functional, '01', '02'), 'ativo', 'inativo')

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be this

Pick(Match( fc.sit_functional, '01', '02'), 'ativo', 'inativo')