Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Necesitaría realizar una función o tener una variable que pudiera sumar los días que trabaja cada turno. A lo máximo que he llegado es a:
Turnos =
CALCULATE(
DISTINCTCOUNT('Datos'[TURNO]),
ALLSELECTED('Datos'[FECHA])
)
El problema es que tengo varias filas con la misma fecha y con los mismos turnos cada mes, y necesitaría poder ir haciendo un total.
Solved! Go to Solution.
Hi, @AndresPLopez
You can try formula as below:
Turnos =
CALCULATE(COUNT(Datos[TURNO]),ALLEXCEPT(Datos,Datos[FECHA],Datos[TIENDA])
)
If it doesn't work, please share your expected result for further research.
Best Regards,
Community Support Team _ Eason
Prueba:
Turnos =
CALCULATE (
DISTINCTCOUNT ( 'Datos'[FECHA] ),
ALLEXCEPT ( Datos, 'Datos'[TURNO] )
)
Proud to be a Super User!
Paul on Linkedin.
No funciona,
El caso es que quiero contar los días que trabaja cada turno. Es decir, el turno A trabaja dos días en Sevilla y uno en Huelva. Son 3 turnos en total, y no consigo llegar a ese total.
Hi, @AndresPLopez
You can try formula as below:
Turnos =
CALCULATE(COUNT(Datos[TURNO]),ALLEXCEPT(Datos,Datos[FECHA],Datos[TIENDA])
)
If it doesn't work, please share your expected result for further research.
Best Regards,
Community Support Team _ Eason
Puedes copiar y pegar la tabla de datos en un mensaje?
Proud to be a Super User!
Paul on Linkedin.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 60 | |
| 45 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 101 | |
| 41 | |
| 29 | |
| 29 |