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
KiranGupta15
Frequent Visitor

Necesita Delta como columna

ArtículoDolorrangoDelta
Artículo 110015
Artículo 110015
Artículo 195215
Artículo 180320
Artículo 110015
Artículo 160410
Artículo 15050
Artículo 15050
Tema 2100120
Tema 280210
Tema 270330
Tema 280210
Tema 24040
Tema 280210
Tema 24040

Hola a todos

Soy nuevo en Power BI, tengo puntuación por cada vez, en función de que he calucluado por rango de puntuación para ese elemento.

ahora estoy a acuerdo para el Delta de la puntuación basada en mi rango

Considere la tabla anterior.

La puntuación de Rank1 de Item1 es 100, 2a es 95, necesito 5 como Delta (100-95) como resultado.

Agradezco su apoyo aquí. Gracias 🙂

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hola @KiranGupta15 ,

Podría utilizar la función earlier(), compruebe la medida a continuación.

Column = 
var a = CALCULATE(AVERAGE('Table'[Sore]),FILTER(ALLEXCEPT('Table','Table'[Item]),'Table'[Rank]=EARLIER('Table'[Rank])+1))
return IF(ISBLANK(a),0,'Table'[Sore]-a)

3.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hola @KiranGupta15 ,

Podría utilizar la función earlier(), compruebe la medida a continuación.

Column = 
var a = CALCULATE(AVERAGE('Table'[Sore]),FILTER(ALLEXCEPT('Table','Table'[Item]),'Table'[Rank]=EARLIER('Table'[Rank])+1))
return IF(ISBLANK(a),0,'Table'[Sore]-a)

3.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
HotChilli
Super User
Super User

Si quieres una columna, puedes empezar con esto,

en cada fila, filtre la tabla para obtener la puntuación (tiene que usar un agregado para que el mínimo, o el máximo o el promedio deberían funcionar) del mismo elemento donde el rango es +1.

Además, creo que casi todos los Item2 Delta en la tabla proporcionada son incorrectos.

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.