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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors