Forum Discussion
Anonymous
4 years agoNot applicable
Medida
Ola gostaria de uma ajuda para colocar uma medida que filtre apenas um valor especifico.
Exemplo: tabela pressão_caldeira mostre apenas os valores que utrapassar 9.5 bar.
E contabilize quantas vezes ultrapassou o nivel de 9.5, preciso de dicas ou algum material para que eu consiga prosseguir.
- Anonymous4 years ago
HI Anonymous,
It sounds like you want to highlight the records that pressure over 9.5 and get the count of rolling alerts, right?
If that is the case, you can check the below formulas if help:
Highlight = VAR currPresure = CALCULATE ( MAX ( Table[pressão_caldeira] ), VALUES ( Table[E3Timestamp] ) ) RETURN IF ( currPresure >= 9.5, Y, N ) Rolling alert count = VAR currTS = MAX ( Table[E3Timestamp] ) RETURN COUNTROWS ( FILTER ( ALLSELECTED ( Table ), [pressão_caldeira] >= 9.5 && [E3Timestamp] <= currTS ) )Regards,
Xiaoxin Sheng
1 Reply
- AnonymousNot applicable
HI Anonymous,
It sounds like you want to highlight the records that pressure over 9.5 and get the count of rolling alerts, right?
If that is the case, you can check the below formulas if help:
Highlight = VAR currPresure = CALCULATE ( MAX ( Table[pressão_caldeira] ), VALUES ( Table[E3Timestamp] ) ) RETURN IF ( currPresure >= 9.5, Y, N ) Rolling alert count = VAR currTS = MAX ( Table[E3Timestamp] ) RETURN COUNTROWS ( FILTER ( ALLSELECTED ( Table ), [pressão_caldeira] >= 9.5 && [E3Timestamp] <= currTS ) )Regards,
Xiaoxin Sheng