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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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