Forum Discussion
Aurélien
6 years agoFrequent Visitor
Response times
Bonjour, J'ai un problème dans Power BI, je n'arrive pas à calculer les délais d'intervention J'ai: "La date de création du ticket" au format JJ / MM / AAA HH: MM: SS "Date d'intervention" a...
- 6 years ago
There is a difference between an empty string ("") and no data (null). The COALESCE function only works with the second scenario. If you know that for BP your demand data may be an empty string "" then you need to either adjust the first line, or replace the empty string with BLANK() (which produces a null value)
lbendlin
Super User
6 years agoThis marks Saturday and Sunday as 1 and all other weekdays as 0.
Aurélien
6 years agoFrequent Visitor
Merci mais à quoi fait référence "Date" ?
- Aurélien6 years agoFrequent Visitor
- lbendlin6 years ago
Super User
Youe ADDCOLUMNS line references CompteRendu, but it should reference the previously created table variable db.
- Aurélien6 years agoFrequent Visitor
Voici ce que j'ai :
Le probléme c'est que parfois la date de la demande peut être inférieur à la date d'intervention et dans ce cas la valeur doit être 0.
Merci pour l'aide