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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Rac3rss
Helper I
Helper I

Resaltar valor Max de las columnas de una matriz

Hola,

Teniendo la siguiente tabla:

ObjABC
Lun35 
Gar 122
Ted217
 5189

Necesitaria resaltar el valor máximo de cada columna con el mismo color. Es decir, marcar solo el 3 para la columna A, el 12 para la columna B y el 7 para la columna C. Los otros valores y los totales no hacen falta,

 

¿Alguna idea?

 

Muchas gracias de antemano!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Rac3rss ,

If A is measure of sum of measure

if ([A] = calculate(Maxx(values(Table[Obj]),[A]), removefilter(Table[Obj])), "Red", "Blank")

Use this conditional formatting using field value option

 

 

Repeat the same for B and C

 

Learn Power BI Advance - PowerBI Abstract Thesis:
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
Rac3rss
Helper I
Helper I

Hola, Me surge una duda.

Tengo la siguiente tabla:

Rac3rss_0-1696328537394.png

con las medidas:

%LotX = CALCULATE(MAX(Tabla), FILTER(Tabla, Columna="X"))
MaxLotX = if ([%LotX] = calculate(Maxx(values(Tabla),[%LotX]), REMOVEFILTERS(Tabla)), "Orangered", "Blank")
 
La cuestión es que se tiene que resaltar el % más alto (19,98%), que es la suma de varios importes. 
Creo que ahora solo me esta resaltando quien tiene el importe más alto. Como deberia poner en la expresión que me coja el Máximo del Sumatorio??
 
Gracias.
Rac3rss
Helper I
Helper I

Hola, lo he consegido solo para la primera columna, pero no soy capaz de hacerlo para las otras dos. Las medidas no hay problema, pero como pongo cada una de ellas en las reglas si solo puedo seleccionar la primera?

 

Gracias.

Es decir, cuando quiero poner la regla condicional en la matriz, solo me deja poner únicamente una. 

amitchandak
Super User
Super User

@Rac3rss ,

If A is measure of sum of measure

if ([A] = calculate(Maxx(values(Table[Obj]),[A]), removefilter(Table[Obj])), "Red", "Blank")

Use this conditional formatting using field value option

 

 

Repeat the same for B and C

 

Learn Power BI Advance - PowerBI Abstract Thesis:
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.