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.
Hola
Tengo una mesa como esta, y quiero identificar el nuevo artículo que Shopper1 consiguió en comparación con el lunes. ¿Cómo sería la fórmula en "Nuevo elemento" (Columna D)?
Comprador | Día | Artículo | Nuevo artículo |
Comprador1 | Lunes | manzana | |
Comprador1 | Lunes | Plátano | |
Comprador1 | Lunes | Naranja | |
Comprador1 | Martes | Naranja | |
Comprador1 | Martes | manzana | |
Comprador1 | Martes | Plátano | |
Comprador1 | Martes | lima | Nuevo artículo |
¡¡Gracias!!
@wsspglobal
Puede establecer la variable en cualquier día
New column =
Var Monday_= CALCULATETABLE(VALUES('Table'[Item]),'Table'[Day]="Monday")
Var Tuesday_= CALCULATETABLE(VALUES('Table'[Item]),'Table'[Day]="Tuesday")
return IF(Tuesday_ in Monday_,BLANK(),[Item])
Paul Zheng
Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola @wsspglobal
puedes probar la columna LOOKUPVALUE() como
New Item =
var _inMonday = LOOKUPVALUE('Table'[Shopper],'Table'[Shopper],[Shopper],'Table'[Item],[Item],'Table'[Day],"Monday")
RETURN
if(ISBLANK(_inMonday),"New Item",BLANK())
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |