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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Total Expressão errado

Alguém sabe como resolver o total dessa tabela? Já tentei de várias formas, tabela dinâmica e tabela simples, porem o % total fica errado. Vejam no anexo que o valor está 10,71%, porem o correto seria 18,02%.

Col2 = Sum(If(LINHA='2' and ANO=2014,QTDE_LITROS_CAIXA))

Col3 = if(MES=Month(today()),(Sum(If(LINHA='2' and ANO='2015',QTDE_LITROS_CAIXA))/Day(Today()-1)*Dias_Totais),

  Sum(If(LINHA='2' and ANO='2015',QTDE_LITROS_CAIXA)))

% = if(Col3='0',0,(Col3/Col2)-1)

Labels (2)
0 Replies