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
Guneet_B21
Helper II
Helper II

Highlight minimum Value in Matrix

Hi,

i am trying to create a matxir using which i can identify the least time taken and by which carrier on every different tradelane (origin and destintation)

Guneet_B21_0-1686636375118.png

Kindly help me out with this situtation

4 REPLIES 4
TomMartens
Super User
Super User

Hey @Guneet_B21 ,

 

what exactly is your question, I can see there are two icons flagging the minimum values in the matrix, does this mean the problem is already solved.

Minimum for every tradelane, why is this important? Both columns are part of the matrix is there anything wrong with the design of the matrix, meaning with the expected results.

 

Please try to elaborate.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Guneet_B21_8-1686640383284.png

 

Hi Tom,
the ones which already have icon flagging are just an example how i wanna show the data,

i wanna highlight the lowest transit time and which carrier provided that like in the above screenshot

Anonymous
Not applicable

Hi @Guneet_B21 ,

 

I suggest you to try code as below.

Conditional formatting = 
VAR _MIN = MINX(FILTER(ALL('Table'),'Table'[Origin] = MAX('Table'[Origin])),[Transit])
RETURN
IF(SUM('Table'[Transit]) = _MIN,1,0)

Result is as below.

vrzhoumsft_0-1687142827425.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @Anonymous ,
thanks for this solution, it seems to be working

However it is still leaving some blanks.

kindly help out with this if possible

Guneet_B21_0-1687149395373.png

 

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.