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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
YunJ
Post Prodigy
Post Prodigy

¿Cómo ocultar las unidades de visualización?

Hola

Me pregunto cómo hacer que el valor no muestre "k", sólo 25.956

Capture.PNG

Capture.PNG

4 REPLIES 4
v-zhenbw-msft
Community Support
Community Support

Hola @YunJ ,

Podemos usar tres maneras de cumplir con sus requisitos.

1. Cree una medida para calcular el valor / 1000.

value /1000 = CALCULATE(SUM('Table'[value]))/1000

H1.jpg

2. Cree una medida simplemente muestre el texto del valor K.

value K = 
var x = FORMAT(CALCULATE(SUM('Table'[value])),"#-###")
return
LEFT(x,LEN(x)-4)

H2.jpg

3. Podemos crear una nueva tabla y una cortadora para controlar las unidades.

h 3.jpg

Slicer measure = 
var x = SELECTEDVALUE('Table (2)'[unit])
var sum__ = CALCULATE(SUM('Table'[value]))
var y = CALCULATE(SUM('Table (2)'[Column1]),FILTER('Table (2)','Table (2)'[unit]=x))
return
IF(x="K",sum__/y,sum__)

H 4.jpg

H 5.jpg

BTW, pbix como adjunto.

Saludos

Equipo de Apoyo comunitario _ zhenbw

Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

En serio, ¿no hay otra solución de formato de unidad de visualización?

amitchandak
Super User
Super User

@YunJ , Tener medir /1000 o utilizar la cadena de formato personalizado

https://docs.microsoft.com/en-us/power-bi/desktop-custom-format-strings

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

Hola, @amitchandak

No hay ningún panel Propiedad en Ver. Además, en Modelado, no hay ninguna opción personalizada para el formato.

Capture.PNGCapture.PNG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.

Top Kudoed Authors