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

Total y subtotal personalizados

Dolor.

Tengo dax en el valor calc clumn

presupuesto =
VAR _ret = CALCULATE([Сумма ]/1000, 'ovip_fact_budget'[measure] = "budget " ,'ovip_fact_budget'[data_type] = "bud")
VAR _show = [isShow]
return (SWITCH(TRUE(),
_show= "otro", 0,
_ret)
)
Cuando intento mostrar el total en la tabla, obtengo el valor de error de valor. Porque Summaraze funciona en ambas condiciones en la fórmula.
¿Hay alguna manera de agregar un total y subtotal de custón?
3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@MikeRu ,

presupuesto =
VAR _ret = CALCULATE([Сумма ]/1000, 'ovip_fact_budget'[measure] = "budget " && 'ovip_fact_budget'[data_type] = "bud")
VAR _show = [isShow]
return (SWITCH(TRUE(),
_show= "otro", 0,
_ret)
)

#################
presupuesto =
VAR _ret = CALCULATE([Сумма ]/1000, 'ovip_fact_budget'[measure] = "budget " || ' ovip_fact_budget'[data_type] = "brote")
VAR _show = [isShow]
return (SWITCH(TRUE(),
_show= "otro", 0,
_ret)
)


>> Prueba ambas fórmulas, espero que te ayude.
>> Si esta publicación ayuda, considere aceptar como solución para ayudar a otros miembros a encontrarla más rápidamente.

Gracias por la repetición.

Pero tengo error en este casoОшибка 26.12.22_12.27.24.png

@MikeRu ¿Puede compartir datos de muestra y salida de muestra en formato de tabla? O un pbix de muestra después de eliminar datos confidenciales.

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.