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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jagostinhoCT
Post Partisan
Post Partisan

Format cells in Table whose value do not match the max value in the same column

Hello,

 

Is it possible to format the cells whose value does not match the max value found in the same table?
In the example below, I would like to format all the cells highlighted in yellow if they do not match the max value above (marked with the green tick). The Max value is dynamic and will change over time.

 

Thank you in advance.

jagostinhoCT_0-1699959822071.png

 

2 REPLIES 2
jagostinhoCT
Post Partisan
Post Partisan

Thank you, @dk_dk 

I realised I may have left out an important detail. My apologies. I need to calculate the MAX SubVersionNumber for each VersionNumber. This table below may help explain it better.
I have also copied a table with all the values in CSV format, if it helps.

 

Thank you

 

jagostinhoCT_0-1700041580047.png

RevitVersionNumber,RevitSubVersionNumber
2024,2024.0
2024,2024.1.10
2024,2024.2
2023,2023.0
2023,2023.0.1
2023,2023.1.10
2023,2023.1.20
2023,2023.1.30
2022,2022.0
2022,2022.1.2
2022,2022.1.3
2022,2022.1.4
2022,2022.1.5
2021,2021.2
2020,2020.2

  

dk_dk
Super User
Super User

Hi @jagostinhoCT ,

Here is my solution, please check if it works for you. The name of my test table is "MaxFormat".

Measure:

MaxValueBuild = IF(MIN(MaxFormat[Build]) = CALCULATE(MAX(MaxFormat[Build]),ALL()), 1, 0)


This should show 1 in every row where the build is the max build and 0 everywhere else.

Then you can configure conditional formatting like this:

dk_dk_0-1699980769791.png

Let me know if you have any questions or issues.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors