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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis function

Hi all, I want to translate the sentence below to set analysis.

=if(Date(T010_InicioVigencia,'DD/MM/YYYY') <= Date(max(Date) ,'DD/MM/YYYY') and Date(DataFinalVigencia,'DD/MM/YYYY') >=  Date(min(Date) ,'DD/MM/YYYY'),sum(Price),'')

Prety much like that.

sum({$<Ano_Emissao_Documento= , Ano_Cancelamento_Documento={$(vAnoEmissao)}>}Price)

any clues???

thanks

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

It could be looking like

=sum({<T010_InicioVigencia = {"<=$(=max(Date))"}, DataFinalVigencia = {">=$(=min(Date))"} >} Price)

Hope this helps,

Stefan

View solution in original post

2 Replies
swuehl
Champion III
Champion III

It could be looking like

=sum({<T010_InicioVigencia = {"<=$(=max(Date))"}, DataFinalVigencia = {">=$(=min(Date))"} >} Price)

Hope this helps,

Stefan

Not applicable
Author

Thank you.

It works perfect.