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
Syndicate_Admin
Administrator
Administrator

Gráfico de dispersión: las fórmulas dinámicas no funcionan

HOLA

Quiero crear un gráfico de dispersión dinámico. eso significa que, según la medida del eje X de selección de la segmentación de datos, la medida del eje Y debería cambiar automáticamente

X_axis_measure = SI(SELECTEDVALUE('X axis_Table'[Eje X])="Cliente total",[cliente total],SI(SELECTEDVALUE('X axis_Table'[Eje X])="Total de productos",[Total de productos],si(SELECTEDVALUE('X axis_Table'[Eje X])="Cantidad total",[Cantidad total],si(SELECTEDVALUE('X axis_Table'[Eje X])="Beneficio total", [Beneficio total],si(SELECTEDVALUE('X axis_Table'[Eje X])="Ventas totales",[Ventas totales])))))
Y_axis_measure = SI(SELECTEDVALUE('Y axis_table'[Y Axis])="Cliente total",[cliente total],SI(SELECTEDVALUE('Y axis_table'[Y Axis])="Produts totales",[Total de productos],si(SELECTEDVALUE('Y axis_table'[Y Axis])="Cantidad total",[Cantidad total],si(SELECTEDVALUE('Y axis_table'[Y Axis])="Beneficio total",[Beneficio total], si(SELECTEDVALUE('Y axis_table'[Y Axis])="Ventas totales",[Ventas totales])))))
X_axis = SI(SELECTEDVALUE('X axis_Table'[Eje X]),[X_axis_measure])
Y_axis = SI(SELECTEDVALUE('Y axis_table'[Y Axis]),[Y_axis_measure])
en el gráfico de dispersión:
---> del eje X X_axis
---> del eje Y Y_axis
Valores ---> estado de EE. UU.
Región de ---> de leyenda
Mediante el uso de las medidas anteriores, obtengo este error ------- "No se puede convertir el valor del texto de tipo a tipo True/False.
¡Por favor, ayuda!
1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@b_raj_kumar , Mi consejo sería usar una nueva función de parámetro de campo y crear para medir la segmentación de datos

https://medium.com/@amitchandak/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9a...

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.