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
Hola
Necesito calcular días tomados por periodo, por ejemplo, para vacaciones, en la que las fechas de inicio y fin son de distinto mes.
Tengo una base de empleados de una empresa en la que la información del sistema se presenta así:
Fecha inicio Fecha Fin días de vacaciones
25-10-2022 10-11-2022 15 días
En la que el resultado esperado para mostrar en gráficas es:
Periodo días
202210 5
202211 10
Ojala puedan ayudarme
Saludos
Gonzalo
Solved! Go to Solution.
Hi @Anonymous
please try
Dias =
SUMX (
'Table',
COUNTROWS (
INTERSECT (
VALUES ( 'Date'[Date] ),
CALENDAR ( 'Table'[Fecha inicio], 'Table'[Fecha Fin] )
)
)
)
Hi @Anonymous
please try
Dias =
SUMX (
'Table',
COUNTROWS (
INTERSECT (
VALUES ( 'Date'[Date] ),
CALENDAR ( 'Table'[Fecha inicio], 'Table'[Fecha Fin] )
)
)
)
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 |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |