Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Como de contas a vencer

Preciso criar um gráfico com os alvarás à vencer para a semana seguinte, mas não consegui utilizar a função da forma correta:

Dimensão: Dia Semana

COUNT({$<[Dia Semana]={'$(=Max[Dia Semana]+1)'}>} if(DS_STATUS_ALVARA = 'PAGO' or DS_STATUS_ALVARA = 'PAGO PARCIALMENTE',STATUS_ALVARA))

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

é sempre bom você anexar uma amostra dos seus dados,

sem entender que valores aparecem em [Dia Semana] fica dificil ajudar

Como obter ajuda? Leia antes de postar

View solution in original post

6 Replies
Anil_Babu_Samineni

Try this?

COUNT({$<[Dia Semana]={'$(=Max([Dia Semana])+1)'}>} if(DS_STATUS_ALVARA = 'PAGO' or DS_STATUS_ALVARA = 'PAGO PARCIALMENTE',STATUS_ALVARA))

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
rogerioalmeida
Creator
Creator

Silvio,

Tenta assim.

if(DS_STATUS_ALVARA = 'PAGO' or

     DS_STATUS_ALVARA = 'PAGO PARCIALMENTE',

COUNT({$<[Dia Semana]={'$(=Max[Dia Semana]+1)'}>} STATUS_ALVARA))


Espero ter ajudado

Anonymous
Not applicable
Author

Obrigado. Mas não funcionou aqui. Posso mudar o cálculo também caso conheça outra forma.

Clever_Anjos
Employee
Employee

Você está usando colchetes mesmo aqui? Max[Dia Semana]

Não deveriam ser parenteses?

Anonymous
Not applicable
Author

Eu já havia tentado com parênteses, não funciona também.

Clever_Anjos
Employee
Employee

é sempre bom você anexar uma amostra dos seus dados,

sem entender que valores aparecem em [Dia Semana] fica dificil ajudar

Como obter ajuda? Leia antes de postar