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 a todos
Tengo el siguiente dax que estoy tratando de ajustar a otra tabla
DE:
SOS =
Dónde _client_name = VALOR SELECCIONADO('PocketWatch Shift Invoice Repor'[Nombre del cliente])
Dónde _product_code = VALOR SELECCIONADO('PocketWatch Shift Invoice Repor'[Número de artículo de soporte NDIS])
Dónde _Sos = CALCULAR(SUMX('GENIUS Schedule of Support Expo','GENIUS Schedule of Support Expo'[Unidades SOS]),
'GENIUS Schedule of Support Expo'[Nombre del cliente] = _client_name,
'GENIUS Schedule of Support Expo'[Código de producto] = _product_code
)
devolución _Sos
Para
¿Puede ayudarme sobre cómo modificar?
Gracias
Puede probar el siguiente dax:
SOS =
var _client_name = SELECTCOLUMNS('PocketWatch Shift Invoice Repor',"client_name",[Client name])
var _product_code = SELECTCOLUMNS('PocketWatch Shift Invoice Repor',"product_code",[NDIS Support Item number])
var _sos=
CALCULATE(SUM('GENIUS Schedule of Support Expo'[SOS Units]),
FILTER(ALL('GENIUS Schedule of Support Expo'),
'GENIUS Schedule of Support Expo'[Client Name] in _client_name &&
'GENIUS Schedule of Support Expo'[Product code] in _product_code))
return
_sos
Saludos
Liu Yang
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
APologies, quise decir como con los nuevos nombres de columna en la 2ª imagen 🙂
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |