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 Maestros,
¿Cómo crear un gráfico de columnas agrupadas comparando la cantidad de Incidente abierto x cantidad de Incidente Cerrado por mes?
El resultado esperado debería ser así:
Ejemplo de tabla:
| Número de incidente | Fecha de grabación | Fecha de cierre |
| 2 | 04/01/20 | 04/15/20 |
| 3 | 04/02/20 | 04/16/20 |
| 4 | 04/03/20 | 04/17/20 |
| 5 | 04/04/20 | 04/18/20 |
| 6 | 04/05/20 | 04/19/20 |
| 7 | 04/06/20 | 04/20/20 |
| 8 | 04/07/20 | 04/21/20 |
| 9 | 04/08/20 | 04/22/20 |
| 10 | 01/03/20 | 02/11/20 |
| 11 | 01/04/20 | 02/12/20 |
| 12 | 01/05/20 | 02/13/20 |
| 13 | 01/06/20 | 02/14/20 |
| 14 | 01/07/20 | 02/15/20 |
| 15 | 01/08/20 | 02/16/20 |
| 16 | 02/10/20 | 03/20/20 |
| 17 | 02/11/20 | 03/21/20 |
| 18 | 02/12/20 | 03/22/20 |
| 19 | 02/13/20 | 03/23/20 |
| 20 | 02/14/20 | 03/24/20 |
| 21 | 02/15/20 | 03/25/20 |
| 22 | 02/16/20 | 03/26/20 |
| 23 | 02/17/20 | 03/27/20 |
| 24 | 02/18/20 | 03/28/20 |
| 25 | 03/18/20 | 04/01/20 |
| 26 | 03/19/20 | 04/02/20 |
| 27 | 03/20/20 | 04/03/20 |
| 28 | 03/21/20 | 04/04/20 |
| 29 | 03/22/20 | 04/05/20 |
| 30 | 03/23/20 | 04/06/20 |
| 31 | 03/24/20 | 04/07/20 |
¡Gracias de antemano!
Solved! Go to Solution.
Si lo conseguí correctamente. Debe crear una dimensión Date común y unir ambas fechas con ella. Uno activo y otro inactivo. Y luego usar userelation para activar el otro.
Consulta Mi blog que te ayudará : https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Si lo conseguí correctamente. Debe crear una dimensión Date común y unir ambas fechas con ella. Uno activo y otro inactivo. Y luego usar userelation para activar el otro.
Consulta Mi blog que te ayudará : https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Gracias amitchandak! Con este ejemplo podría desarrollar mi carta.
Otra solución fue duplicar la tabla dejando solo la columna Closed allí y vincularla con la tabla Calendar. No es muy inteligente, pero funciona 🙂
Gracias.
Hola @Erikestrela ,
Si entendí cómo el total abierto y el total cerrado calculado correctamente, puede crear primero una tabla de fechas y, a continuación, crear las siguientes medidas:
Total open =
VAR _date =
SELECTEDVALUE ( 'Date'[Date] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'Table'[Incident Number] ),
FILTER (
ALLSELECTED ( 'Table' ),
_date >= 'Table'[Date Recorded]
&& _date <= 'Table'[Date Closed]
)
)Total Closed =
VAR _date =
SELECTEDVALUE ( 'Date'[Date] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'Table'[Incident Number] ),
FILTER (
ALLSELECTED ( 'Table' ),
_date < 'Table'[Date Recorded]
|| _date > 'Table'[Date Closed]
)
)Aquí está la demostración basada en mi comprensión, por favor pruébelo:
Si mi comprensión tiene algo mal, por favor hágamelo saber y puede compartir más detalles como cómo calculan para una discusión más.
Mejores looks,
Yingjie Li
Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Gracias v-yingil!
Con su ejemplo podría tener más ideas sobre cómo lidiar con él.
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.