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
Total refleja incorrecto en la vista de tabla cuando se utiliza la función DISTINCTCOUNT en DAX.
Solved! Go to Solution.
No @amty63,
Puede crear una nueva medida:
test2 = IF(HASONEVALUE('Participants'[COUNTRY_DESCR]),[Test1], SUMX(ALL('Participants'),'Participants'[Test1]))
final verá lo siguiente:
¡Ojalá sea útil para ti!
Saludos
Lucien
No @amty63,
Puede crear una nueva medida:
test2 = IF(HASONEVALUE('Participants'[COUNTRY_DESCR]),[Test1], SUMX(ALL('Participants'),'Participants'[Test1]))
final verá lo siguiente:
¡Ojalá sea útil para ti!
Saludos
Lucien
La fila total de un objeto visual que muestra un DISTINCTCOUNT no suma las filas anteriores. Calucla el DISTINCTCOUNT sin ningún filtro aplicado a la country_descr. También debe tener algunos otros filtros / cortadores que se están alimentando en ese visual.
Si quieres que el total se sume por país puedes hacer algo como esto.
Participants by country =
SUMX (
VALUES ( TableName[COUNTRY_DESCR] ),
CALCULATE ( DISTINCTCOUNT ( 'Participants'[ Participant Id] ) )
)
Deberá cambiar el 'TableName' para que coincida con cualquier tabla en la que se encuentra su [COUNTRY_DESCR].
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 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |