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
JoseLuisAGZZ
Helper I
Helper I

Filtrar dos columnas

Que tal comunidad

Recien comienzo mi camino dentro de Power BI y estoy teniendo detalles con esto, estoy tratando de filtrar una tabla, veran en esta tabla vienen 2 columnas una que es fecha de ingreso y otra fecha de baja, al momento de poner un slicer para poder hacer calculos con los meses, solamente selecciona la informacion de la primera columna

 

JoseLuisAGZZ_0-1618881132179.png

Ejemplo

Marzo tuvo 44 ingresos, 76 bajas, de las cuales 10 bajas estuvieron dentro de ese periodo de Marzo osea que ingresaron dentro de 1ero de marzo al 31 marzo y se dieron de baja en ese mismo mes , pero las otras 66 ocurrieron en marzo pero el ingreso fuera de este mismo mes, al momento de querer calcular las bajas totales del mes de marzo con un slicer, solo me selecciona las 10 que ocurrieron dentro del periodo y no filtrando la columna de baja a como yo supuse que seria

 

JoseLuisAGZZ_1-1618881373465.png

 

Alguien podria que haya tenido algun tema similar con dax basico?

De antemano muchas gracias

Saludos!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JoseLuisAGZZ , Based on what I got, is you need a date table join with both dates in the table and one join will inactive which you can activate in a measure using userelationship

 

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@JoseLuisAGZZ , Based on what I got, is you need a date table join with both dates in the table and one join will inactive which you can activate in a measure using userelationship

 

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

That was exactly what I needed

Thank you so much!

 

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.

Top Solution Authors