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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Arnaud35
Contributor III
Contributor III

Set analysis with yearend

Hello,

I have a problem with the formula below :

I wanted to filter the results on the year only

=sum(if([Opportunite.Statut_Commercial]='En cours',[Opportunite.Date_de_Commande]<yearend((31/12/2022)),[Opportunite.Montant_offre_finale]))

 

Many thanks for your help

10 Replies
Arnaud35
Contributor III
Contributor III
Author

=sum({<not IsNull([Opportunite.Date_de_Commande]),[Opportunite.Date_de_Commande]=yearend({"=$(=Date(Today(), 'DD/MM/YYYY'))"}),[Opportunite.Statut_Commercial]={"En Cours"}>}[Opportunite.Montant_offre_finale])