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.
Tengo una tarjeta de varias filas, que muestra un rango de valores numéricos que van desde 10 hasta 10 millones.
Me gustaría formatear cada valor individual para que se muestre en la unidad más adecuada (miles / millones, etc),), dependiendo de su valor.
En el panel Formato > Etiquetas de datos, no hay ninguna opción para hacerlo.
¿Alguien tiene idea de cómo puedo evitar esto?
Gracias
Hola, @shaunmag
Según su descripción, creé datos para reproducir su escenario.
Tabla (una tabla calculada):
Table = GENERATESERIES(10,100000000,1)
Puede crear una medida como la siguiente.
FormatedValue =
var _value = SELECTEDVALUE('Table'[Value])
return
SWITCH(
TRUE(),
_value>=10&&_value<=99,(_value/10)&" ten digits",
_value>=100&&_value<=999,(_value/100)&" hundreds",
_value>=1000&&_value<=999999,(_value/1000)&" thousands",
_value>=1000000,(_value/1000000)&" millions",
_value
)
Resultado:
Saludos
Allan
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Esta solución funcionó bien. Pero, ¿hay alguna manera de que podamos tener algo similar en los gráficos circulares?
Consulte: https://community.powerbi.com/t5/Desktop/measure-for-converting-numbers-to-million/td-p/589524
Puede usar el formato de datos a nivel visual
HI @amitchandak ,
¿Dónde está esta funcionalidad en el nuevo panel de formato? No puedo encontrarlo.
@shaunmag en la tarjeta de varias filas no tiene la opción de establecer unidades de visualización, debe preformatear los valores antes de usar en este objeto visual.
Pregunte cualquier cosa Power BI. Reserva una cita para una consulta gratuita en https://www.perytus.com
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |