Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Hola, ¿puedes ayudarme a contar sólo boleto abierto para cada mes?

Hola

Tengo una tabla abajo :

BoletoFecha de creaciónFecha cerradaMes está abierto
EneroFebreroMarzoAbrilMayoJunio
11-Jan31-JanEneroEnero
21-Jan1-FebEne,FebEneroFebrero
315-Mar1-JunMar,Abr,Mayo,Jun MarzoAbrilMayoJunio
431-Mayo1-JunMayo, Jun MayoJunio
58-Feb1-AbrFeb,Mar,Apr FebreroMarzoAbril
61-Mayo15-MayoMayo Mayo
731-Jan1-JunEne,Feb,Mar,Apr,Mayo,JunEneroFebreroMarzoAbrilMayoJunio
815-Jun18-JunJunio Junio
91-Mar1-MayoMar,Abr,Mayo MarzoAbrilMayo
101-Jan2-JanEneroEnero

y necesito calcular el recuento como se muestra a continuación:

MesRecuento de en curso
Enero4
Febrero3
Marzo4
Abril4
Mayo5
Junio4

así que para cada boleto agregue uno al conteo abierto/mes a partir del mes en que el boleto se abrió a través (e incluyendo) el mes en que se cerró.

aquí está mi siguiente fuente de datos

https://drive.google.com/file/d/1cu-MhCMuPNJiW-p8Pn9a-AkWl-GBqYmL/view?usp=sharing

4 REPLIES 4
Pragati11
Super User
Super User

Hola @sandip ,

Compruebe si el siguiente subproceso ayuda:

https://community.powerbi.com/t5/Desktop/Count-tickets-opened-and-closed-in-the-same-month/m-p/97092...

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hola @parry2k

,

@amitchandak,

He usado la siguiente expresión,

Boletos de transporte1 ?
VAR __mindate - MIN ( 'DimDateDemo'[Fecha] )
devolución
CALCULAR (
COUNTROWS( 'Datos de demostración' ),
'Datos de demostración'[Fecha de creación] <- __mindate,
O ( 'Datos de demostración'[Fecha cerrada] > __mindate, ISBLANK('Datos de demostración'[Fecha cerrada]) )
)

y he creado una tabla de fechas como se muestra a continuación:

DimDateDemo ?
GENERAR (
CALENDAR ( FIRSTDATE('Demo Data'[Date Created]), LASTDATE('Demo Data'[Date Created])),
Tiempo de corriente de VAR [Fecha]
Día del VAR - DIA (día actual)
Mes de VAR - MES ( currentDay )
Año VAR á año (día actual)
REMIENDO DE VUELTA (
"Día", día,
"Número de mes", MES ( [Fecha] ),
"Nombre del mes", FORMAT ( [Fecha], "MMMM" ),
"Año", año,
"Año del mes", FORMAT ( [Fecha], "MMMM-AAAA" ),
"Mes Corto", FORMAT ( [Fecha], "MM" ),
"Año mes corto", FORMAT ( [Fecha], "MMM-YY" ),
"Mes Año", FORMAT ( [Fecha], "YYMM" )
)
)
y no hay ninguna relación entre ellos, pero estoy obteniendo resultados a continuación:

Hola @sandip,

¿Has resuelto esto o sigues estriendo con él?

Salud
Sturla

amitchandak
Super User
Super User

@sandip, consulte esto puede ayudar a

https://www.dropbox.com/s/bqbei7b8qbq5xez/leavebetweendates.pbix?dl=0

Sólo haz un recuento distinto de meses

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors