Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
CaiqueEloy1
Contributor II
Contributor II

SOMA COM SET ANALYSES + DIVISÃO

Boa noite Pessoal, tudo bem ?

Estou criando uma médida que pega 3 valores e soma em um set analyses e posteriormente dividi pela quantiade de parcelas, ta dividindo porém não apresenta o total na tabela...

segue código e print de como está a visualização da tabela...

 

SUM({$<COD_TIPO_VALOR={'216','217','219'}>}PIS_PREV + CSL_PREV + COFINS_PREV) / NUM_PARCELAexemplo221.PNG

Labels (2)
1 Reply
vinieme12
Champion III
Champion III

Maybe below

 

SUM({<COD_TIPO_VALOR={'216','217','219'}>}PIS_PREV + CSL_PREV + COFINS_PREV)

/

sum({<COD_TIPO_VALOR={'216','217','219'}>}NUM_PARCELA)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.