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

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.

Reply
jackyot
Regular Visitor

Cómo contar selectivamente

Expertos de HI

Novato en busca de ayuda.......... 😅

Estoy buscando crear un panel con caso de uso basado en un sistema de administración de tickets heredado. La tabla es un gran archivo plano de datos.

Básicamente la tabla una "fecha de apertura" y "fecha cerrada" que será el centro de este caso de uso.

En mi panel de control necesito mostrar 'Open Backlog' - El número de ticket que todavía no está cerrado dada una fecha específica. Si se proporciona un período (ya que uso una segmentación de escala de tiempo), el 'Open Backlog' debe basarse en el último día del período especificado.

Cualquier pista sería muy apreciada! Me estoy tirando del pelo para tener esta idea, pero estoy atascado e incapaz de ir más allá de esto.

2 REPLIES 2
amitchandak
Super User
Super User

@jackyot , consulte mi blog sobre un tema similar si eso puede ayudar

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

hay pocos cambios en la colocación del último archivo después de la firma

Hola Amit

Gracias por la respuesta! Tuve un vistazo y creo que el más relevante aquí para mí sería el fomula

Last Period Employee á 
var _min_date á minx(all('Date'),'Date'[Date])
var _Expression-if(ISFILTERED('Date'[Month Year]),maxx('Date',DATEADD('Date'[Date],-1,MONTH)),maxx('Date'[Month Year]),maxx('Date'[Month Year]),maxx('Date'[Month',DATE','Date'[Date],-1,MONTH)),maxx('Date'[Month Year]),maxx('Date'[Month Year]),maxx('Date'[Month]),maxx('Date'[Month]),maxx('Date'[Month Year]),maxx('Date'[Month Year]),maxx('Date'[Month',DATEADD('Date'[Date],-1,MONTH)),maxx('Date'[Month Year 'Date',DATEADD('Date'[Date],-1,YEAR)))
Return
 CALCULATE(COUNTx(FILTER(Employee,Employee[Start Date]<-_Expression && Employee[Start Date]>-_min_date && (ISBLANK(Empleado[Fecha de finalización]) Empleado[Fecha de finalización]>_Expression)),(Empleado[Id de empleado ])),CROSSFILTER(Employee[Fecha de inicio],'Fecha'[Fecha],Ninguno))

¿Puede darme un poco más de explicación sobre la lógica detrás de este cálculo? Me imagino que esta es una medida colocada en la mesa del empleado?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.