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
ChoiJunghoon
Helper III
Helper III

[DAX] ¿Cómo eliminar el valor específico cuando uso promedio?

Untitled.png

Quiero crear la "Tabla promedio" con DAX.

cómo escribir el DAX ??

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hola @ChoiJunghoon ,

Por favor, cree medidas como las siguientes:

SUM_VALUE = CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[ID]))
AVG = 
var t = FILTER(ALL('Table'[ID]),[SUM_VALUE]>=100)
return
AVERAGEX(t,CALCULATE(SUM('Table'[Value])))

1.PNG

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@ChoiJunghoon ,

Prueba una nueva mesa

filter(Summarize(Table, Table[ID],"Sum",sum(Table[Value]) ,"Avg" , Average(Table[Value])),[Sum]>-100)

Nueva columna

AverageX(filter(Summarize(Table, Table[ID],"Sum",sum(Table[Value]) ,"Avg" , Average(Table[Value])),[Sum]>-100),[Avg])

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.