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
ktt777
Helper V
Helper V

medida y la cortadora múltiple

Hola

Tengo mis datos aquí:

¿Cómo puedo obtener la venta media no afectó a mi cortadora "tipo" ?

Quiero calcular el promedio para el estado "Activo" para diferentes regiones y países en diferentes meses. No quiero que la segmentación de tipos se aplique a mi promedio en este gráfico .

Mi archivo está aquí : https://1drv.ms/u/s!ApIDnMK2eKiFgQJr9w9NZ7Hr8fQS?e=fYjt0f

Gracias

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@ktt777

Tratar

Average Sale = 
var numerator = CALCULATE(SUM(Sheet4[Sale ]),Sheet4[Status]="Active",ALL(Sheet4[Type]))
var denominator = CALCULATE(COUNTROWS(Sheet4),Sheet4[Status]="Active",ALL(Sheet4[Type]))

return 

divide(numerator,denominator)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

4 REPLIES 4
az38
Community Champion
Community Champion

@ktt777

tratar de usar la opción Editar interacción para su tipo s;licer - https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

desactivar El gráfico de ventas promedio para esta segmentación de datos


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

¿Hay alguna manera de hacer con el cambio de medida?

Todavía hay otra cosa en el mismo gráfico que quiero que se aplique la cortadora "Type"

@ktt777
Vaya con esta medida:

Average Sale = var numerator = CALCULATE(SUM(Sheet4[Sale ]),FILTER(ALL(Sheet4),Sheet4[Status]="Active"), 
FILTER(ALL(Sheet4),[Period].[Month]=MAX([Period].[Month])))

var denominator = CALCULATE(COUNTROWS(Sheet4),FILTER(ALL(Sheet4),Sheet4[Status]="Active"), 
FILTER(ALL(Sheet4),[Period].[Month]=MAX([Period].[Month])))

return divide (numerator, denominator)


Paul Zheng _ Equipo de apoyo de la comunidad
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

az38
Community Champion
Community Champion

@ktt777

Tratar

Average Sale = 
var numerator = CALCULATE(SUM(Sheet4[Sale ]),Sheet4[Status]="Active",ALL(Sheet4[Type]))
var denominator = CALCULATE(COUNTROWS(Sheet4),Sheet4[Status]="Active",ALL(Sheet4[Type]))

return 

divide(numerator,denominator)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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.