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
Anonymous
Not applicable

Diferentes tipos de variables en un objeto visual usando SWITCH

¡Hola, chicos!

Tener un problema - necesita un poco de ayuda.

Tenga una medida:

Switch_XXX - IF(HASONEVALUE('XXX'[Alternar]),SWITCH(VALUES('XXX'[Alternar]),
"Ingresos",[Inc_measure],
"Ratio", [Ratio_measure])
Tipos de variables:
Inc_measure - General
Ratio_measure - %
Y tenga algunos problemas para usar la medida Switch_XXX en el gráfico circular o el gráfico de líneas visual.
Tengo una buena vista cuando elegir "Ingresos" usando alternar, y vista decimal incorrecta - cuando "Ratio"
Mira:
Correcto
revenue.PNG
No corregible (debe ser del 90%):
second.PNG
Si uso Inc_measure y Ratio_measure separetemente en los elementos visuales, sin SWITCH, su trabajo bien.
¿Cómo solucionarlo?
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@KonstantinD, a partir de ahora que es posible utilizando una herramienta externa como la edición tabular

refer : https://www.youtube.com/watch?v=vlnx7QUVYME

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@KonstantinD, a partir de ahora que es posible utilizando una herramienta externa como la edición tabular

refer : https://www.youtube.com/watch?v=vlnx7QUVYME

Anonymous
Not applicable

¡Sí, eso es lo que necesito!

Muchas gracias @amitchandak !!!

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.