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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Highlight Maximum Test Time Based on Specific Criteria in Table.

Hi Power Bi Expertise,

 

Need your helps on how to highlight in table for maximum test time based on specific criteria? Mean 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Pls use measure like the below:

test =
IF (
    MAX ( 'Table'[Test Time U] )
        = CALCULATE (
            MAX ( 'Table'[Test Time U] ),
            FILTER (
                ALL ( 'Table' ),
                'Table'[Machine] = MAX ( 'Table'[Machine] )
                    && 'Table'[Model Categroy] = MAX ( 'Table'[Model Categroy] )
            )
        ),
    "Red"
)

Then format:

vluwangmsft_0-1669882621285.png

 

 

Best Regards

Lucien

View solution in original post

4 REPLIES 4
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Pls use measure like the below:

test =
IF (
    MAX ( 'Table'[Test Time U] )
        = CALCULATE (
            MAX ( 'Table'[Test Time U] ),
            FILTER (
                ALL ( 'Table' ),
                'Table'[Machine] = MAX ( 'Table'[Machine] )
                    && 'Table'[Model Categroy] = MAX ( 'Table'[Model Categroy] )
            )
        ),
    "Red"
)

Then format:

vluwangmsft_0-1669882621285.png

 

 

Best Regards

Lucien

PijushRoy
Super User
Super User

Hi @Anonymous 

Requirement is not clear, please describe and please share sample screenshot.




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Anonymous
Not applicable

3128828nf_0-1669356073860.png

Hi @PijushRoy ,

 

Thanks for your fast response. BTW, here is the example of the table, i want to highlight row that have the max test time based on machine and model. Thanks 🙂

@Anonymous 
Please use Conditional Formatting logic for all column
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

 

If Solved, mark as SOLUTION




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.