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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jsama
Frequent Visitor

Operaciones entre dos tarjetas

Hola, tengo una tabla de socios datos donde tengo fecha de inscripción (alta) y la fecha en que cancelaron la inscripción (baja), ambas fechas están en la misma tabla. La cantidad de socios que tengo inscritos por mes menos la cantidad de socios que cancelaron la inscripción se llamará diferencia neta. Al tener ambas fechas (fecha de alta y baja) en la misma tabla, no puedo relacionarlas, y tengo que hacer una segmentación individual, para ver la cantidad de altas necesito un filtro de fecha con fecha de alta, y para ver la cantidad de bajas necesito un filtro de fecha con fecha de baja, y eso no es problema, pero lo que necesito es poder calcular de alguna manera la diferencia neta. En la imgen se puede ver que para el mes de febrero hay 3734 altas y 2128 bajas, por lo que la diferencia neta es de 1606. Alguien sabe alguna manera de poder visualizar o calcular la diferencia neta? 

jsama_0-1663787006799.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jsama , If I select Feb and I was registered and cancelled in feb based on respective dates, the you need common date table with Active/ Inactive join and userelationship 

 

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

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jsama , If I select Feb and I was registered and cancelled in feb based on respective dates, the you need common date table with Active/ Inactive join and userelationship 

 

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

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

This is exactly what I was looking for 🙂 Thank you so much

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors