Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not 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. 

Nova Mensagem - Comunidade Microsoft Power BI - Google Chrome.jpg


E contabilize quantas vezes ultrapassou o nivel de 9.5, preciso de dicas ou algum material para que eu consiga prosseguir.

1 ACCEPTED SOLUTION
Anonymous
Not 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

View solution in original post

1 REPLY 1
Anonymous
Not 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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.