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

Fonction si imbriquée

Bonjour,

J'ai un problème avec la formule ci-dessous :

=sum(dual if((not isnull(Opportunite.Montant_offre_finale),[Opportunite.Statut_Commercial]='En cours')),[Opportunite.EstOpportunite])

 

Pourriez-vous m'aider svp ?

Labels (1)
5 Replies
PrashantSangle

not understood what are trying to do

just guess. try below

if(not isnull(Opportunity.Amount_final_offer),Sum({<[Opportunity.Commercial_Status]={'In progress'}>}[Opportunity.IsOpportunity]))

 

if this won't help you, then please share the your requirement in details

 

Regards,

Prashant

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Arnaud35
Contributor III
Contributor III
Author

Thank you for your help but it doesn't work

I tried this formula :

Sum(dual if((not isnull(Opportunite.Montant_offre_finale)),[Opportunite.Statut_Commercial]={'En cours'}),[Opportunite.EstOpportunite]))

Arnaud35
Contributor III
Contributor III
Author

The formula below is ok for Qlik but it doesn't return any result :

 

qlik.jpg

brunobertels
Master
Master

Bonjour 

Si la formule est bonne et qu'elle ne renvoi rien c'est que la condition n'est pas remplie ?

test ta formule sum seule dans un objet kpi ou tableau 

revoit elle un résultat ? 

revoit elle un résultat quand tu filtres sur le champs Opportunite.Montant_offre_finale ? 

Essaye avec son inverse ( if(isnull()  au lieu de if(not isnull () 

quelles sont les valeurs possibles de ce champs : Opportunite.Montant_offre_finale 

('-' , 'null' , '0' , 'x' ,'-x'  , etc ) 

 

Si je comprends ta formule tu souhaites la somme des montants des offres finales sur les propositions qui sont en statut "en cours" ?

peut etre ceci dans ce cas 

if(Opportunity.Amount_final_offer<> 0 ,Sum({<[Opportunity.Commercial_Status]={'In progress'}>}[Opportunity.IsOpportunity]))

 

Arnaud35
Contributor III
Contributor III
Author

Hi,

Thank you very much but it doesn't run.