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.
Para esta nueva medida, necesito un recuento distinto de la columna A si la columna B tiene "true" o "neutral" y la columna C tiene "yes" o "maybe"
Columna A | Columna B | Columna C |
Ll | verdadero | Sí |
Ll | falso | no |
Pp | neutral | no |
Bb | verdadero | quizás |
Bb | verdadero | no |
El resultado debe ser 2. ¿Puedes ayudarme con la fórmula dax?
Solved! Go to Solution.
hola
Esta medida funciona
Medida = CALCULATE(DISTINCTCOUNT(Data[Columna A]),(Data[Columna B]="true"|| Data[Column B]="neutral"),Data[Column C]="yes"|| Data[Column C]="quizás")
hola
Esta medida funciona
Medida = CALCULATE(DISTINCTCOUNT(Data[Columna A]),(Data[Columna B]="true"|| Data[Column B]="neutral"),Data[Column C]="yes"|| Data[Column C]="quizás")
Gracias, esto funcionó!!
De nada.
No @richleeb2
Pruébalo
Count = CALCULATE(COUNTROWS(VALUES(yourTable[Column A])),FILTER(yourTable,yourTable[Column B] IN {"true","neutral"} && yourTable[Column C] IN {"yes", "maybe"}))
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 |