Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Função Day - Set Analysis

Bom dia,

Preciso dividir o faturamento em faixas de vencimento. Teoricamente faria assim:

=Sum({$< [Código]={'10','20'},Day( [Data Vencimento Fatura])={'<=10'} > } [Valor Receita Pré Pagamento])

Mas está dando erro. Qual a forma correta desse parâmetro?

Day( [Data Vencimento Fatura])={'<=10'}

1 Solution

Accepted Solutions
Highlighted
Contributor III
Contributor III

Hi,

I managed to solve as follows

=Sum({$< [Código]={'10','20'}, [Data Vencimento Fatura]={'=(Day([Data Vencimento Fatura])<=10)'} >} [Valor Receita Pré Pagamento])

Thank you for your help

View solution in original post

2 Replies
Highlighted
Partner
Partner

Hi,

Please post your questions in English, this is easier to solve.

But regarding your question, try:

=Sum({$< [Código]={'10','20'},[Data Vencimento Fatura]={"<=10"} > } [Valor Receita Pré Pagamento])

You can't use a function like 'Day()' in set analysis.

Jordy

Climber 

Work smarter, not harder
Highlighted
Contributor III
Contributor III

Hi,

I managed to solve as follows

=Sum({$< [Código]={'10','20'}, [Data Vencimento Fatura]={'=(Day([Data Vencimento Fatura])<=10)'} >} [Valor Receita Pré Pagamento])

Thank you for your help

View solution in original post