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.
Supongamos que tiene los siguientes datos y está creando una relación con la tabla Calendario.
El visual de matriz utiliza DAX ("medida") para contar el número único de cada categoría.
measure = DISTINCTCOUNT(Table1[category])
Actualmente, estamos mostrando el número total de valores únicos (A, B, C = 3), pero originalmente nos gustaría mostrar el número total de valores únicos (3 + 2 + 2 + 1 = 😎 para cada mes.
Si tiene alguna buena idea sobre cómo hacer que esto suceda, ¿podría hacérmelo saber?
Saludos
Lopez
Solved! Go to Solution.
@Lopez0090
Por favor, pruebe esta medida
Dcount =
SUMX(
SUMMARIZE(Table1,Table1[Year],Table1[Month Number]),
calculate(DISTINCTCOUNT(Table1[Category]))
)
@Lopez0090
Por favor, pruebe esta medida
Dcount =
SUMX(
SUMMARIZE(Table1,Table1[Year],Table1[Month Number]),
calculate(DISTINCTCOUNT(Table1[Category]))
)
¡Genio! Muchas gracias.
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 |