Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Arnaud35
Contributor III
Contributor III

Set Analysis Today

I have a problem with my script below :

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

It seems to be OK but it returns any result.

Thank you for your help 🙏🙏🙏

Arnaud35_0-1638522105280.png

 

Arnaud35_1-1638522135467.png

 

Labels (1)
1 Solution

Accepted Solutions
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

It must be a date format issue. Check for the existing date format of Opportunite.Date_relance and try to match in set analysis.

 

Thanks,

Ashutosh

View solution in original post

3 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

It must be a date format issue. Check for the existing date format of Opportunite.Date_relance and try to match in set analysis.

 

Thanks,

Ashutosh

Arnaud35
Contributor III
Contributor III
Author

Hi @AshutoshBhumkar 

The date format is as shown below

Arnaud35_0-1638523802827.png

 

vikasmahajan

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

or

Sum({<[Opportunite.Date_relance] = {'$(=Date(Today() - 1))'}  [Opportunite.EstOpportunite])

 

Hope this works for you

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.