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.
¿Qué es una medida DAX equivalente para la siguiente consulta SQL?
Seleccione sum(amount) from (seleccione SRCID distinto, amount de MyTable donde datanameshort='name' y status = 'status');
Gracias @pratyashasamal esto devuelve el siguiente error:
La función SUMX espera una expresión de tabla para el argumento '1', pero se utilizó una cadena o expresión numérica.
Hola @MDR ,
Prueba esto.
SUMX (
SUMA( 'Tabla'[Importe] ),
CALCULATE ( DISTINTO ( 'Table'[Scrid] ) , 'Table'[datanameshort]='name' y 'Table'[status] = 'status)
)
Gracias
Pratyasha Samal
¿Este post ha resuelto tu problema? Por favor, acepte como solución para que otros puedan encontrarla rápidamente y para que la comunidad sepa que su problema ha sido resuelto.
Si te ha resultado útil este post, por favor dale a Kudos C
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 |