Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Arnaud35
Contributor III
Contributor III

Date du jour

Bonjour,

Ma formule ci-dessous ne fonctionne pas

=sum(if([Opportunite.Statut_Commercial]='En cours' and [Opportunite.Date_relance] = Date(today(),'YYYYMMDD'),[Opportunite.EstOpportunite]))

 

La date du jour est-elle bien traduite par Date(today(),'YYYYMMDD') ?

1 Solution

Accepted Solutions
Arnaud35
Contributor III
Contributor III
Author

Hello

I had on problem with the format date which has been resolved.

The script below runs perfectly

sum({<[Opportunite.Date_relance]={"<=$(=Date(Today(), 'DD/MM/YYYY'))"},[Opportunite.Statut_Commercial]={"En Cours"}>}[Opportunite.EstOpportunite]).

 

Thank you for the great support

View solution in original post

2 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Bonjour,

Essayez avec l'analyse des ensembles.

=sum({<[Opportunite.Statut_Commercial]={"En cours"},[Opportunite.Date_relance] = {"$(=Date(today(),'YYYYMMDD'))"}>}[Opportunite.EstOpportunite]))

 

-Ashutosh

Arnaud35
Contributor III
Contributor III
Author

Hello

I had on problem with the format date which has been resolved.

The script below runs perfectly

sum({<[Opportunite.Date_relance]={"<=$(=Date(Today(), 'DD/MM/YYYY'))"},[Opportunite.Statut_Commercial]={"En Cours"}>}[Opportunite.EstOpportunite]).

 

Thank you for the great support

Community Browser