Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
You find the table with the infos
I want to get the time "OK" and the time "KO" for the dimension Test
The conditions: if T YPE = ESSAI then "KO3, if CODE = T100 then KO otherwise OK
For that I put these formulas =
Expression OK : sum({<TYPE-={'ESSAI'},CODE-={'T100'}>} TPS)
Expression KO : sum({<TYPE={'ESSAI'},CODE={'T100'}>} TPS)
The result
My wish is to obtain 24h on the sum of the two expressions.
Is it possible to pass only with the set analysis to realize this table or should I use one if nested moreover?
Thanks for your feedback
Cdlt
May be try this
If(Len(Trim(POSTE)) > 0, Sum(TOTAL <CODE> {$-(<typeln={'POSTEVT'},ofessai={'ESSAI'}>+<%code_type_evt={'FERME','MAP','T402','T403','T401','T405'}>)} duree))
it's not ok.
The problem is the expression Tps ouv (s).
that's what makes me two POSTE line
But that is the expression I am asking you to change with this one
If(Len(Trim(POSTE)) > 0, Sum(TOTAL <CODE> {$-(<typeln={'POSTEVT'},ofessai={'ESSAI'}>+<%code_type_evt={'FERME','MAP','T402','T403','T401','T405'}>)} duree))
thanks
It's ok
but if I add a dimension here is the result
Well, unless I know or see the whole thing... I won't be able to give you an expression which will work in all cases... the expression is not straight forward because of the way your data is...
ok ,
No problem at all