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
funklordofusa
Helper I
Helper I

conditional format single value in matrix

Is there a way to conditionally format a single value (highest or lowest) in a matrix?  For example, I'd like to show a matrix for product sales by year and month and wish to highlight the highest (but only the highest) value.  Is this possible?

 

Thank you,

1 ACCEPTED SOLUTION

Hello @funklordofusa 

 

I have uploaded the pbix file for you here: https://1drv.ms/u/s!AiiWkkwHZChHj1wR7sFzNd8m2f1E

 

To add the conditional format, based on a measure, follow these steps:

 

Capture1.PNGCapture2.PNG

 

 

 

Capture.PNG

 


 


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


Proud to be a Datanaut!  

View solution in original post

8 REPLIES 8
LivioLanzo
Solution Sage
Solution Sage

Hello @funklordofusa 

 

it is possible, can you post a dataset sample? thank you

 

 

 


 


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


Proud to be a Datanaut!  

Does it require DAX or can I execute it using the formatting options?

Thanks again,

Hello @funklordofusa ,

 

it requires a bit of DAX

 

 

 


 


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


Proud to be a Datanaut!  

@LivioLanzo 

here is an example of the data:

 

YearValueMonth
201412560708January
201416968413February
201432218982March
201433815386April
201434307532May
201431979161June
201430774413July
201432989330August
201433241923September
201434139505October
201430947137November
201430006435December
201527099854January
201526485375February
201529681380March
201528544525April
201528115709May
201529731018June
201528943291July
201529251503August
201531384637September
201530475097October
201529602103November
201529923197December
201625264531January
201626180127February
201631969361March
201630913398April
201630220235May
201627319953June
201627480557July
201629376793August
201628281471September
201628185455October
201626852441November
201626481810December
201724467862January
201724465064February
201728012538March
201727241900April
201731930123May
201728809465June
201724565075July
201732738664August
201728046908September
201730480059October
201728961507November
201724878892December
201827362760January
201826066138February
201831129519March
201830538616April
201828978045May
201829283051June
201827297204July
201832818608August
201828934255September
201836256115October
201829721993November
201823268130December
201926656224January

Hi @funklordofusa 

 

you want to highlight the highest monthly values within each year or the highest overall?

 

 

 


 


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


Proud to be a Datanaut!  

highest overall, please.  

Hello @funklordofusa 

 

I have uploaded the pbix file for you here: https://1drv.ms/u/s!AiiWkkwHZChHj1wR7sFzNd8m2f1E

 

To add the conditional format, based on a measure, follow these steps:

 

Capture1.PNGCapture2.PNG

 

 

 

Capture.PNG

 


 


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


Proud to be a Datanaut!  

@LivioLanzo , 

thanks for your help.  I think this will work perfectly--however, my system seems to have flaked and my dates are no longer in hierarchy form so I'm trying to resolve that. 

 

this has happened to me previously and the only way I could fix it was to copy the dates and create new data.  I am hopeful I can just fix what I have rather than creating new date fields for all of my reports.

 

I will mark solved just as soon as I can actually implement it.

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.