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
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

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 @v-rzhou-msft ,
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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