cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fguijarrob
Frequent Visitor

FILTER con varias condiciones de diferentes tablas

Buenos días,

Necesitaría añadir varias condiciones en un FILTER de diferentes tablas, concretamente:

 

 

Altas Lineas =
    CALCULATE(
         COUNT(Telef[lineadetelefono]),
          FILTER(
Telef,
Telef[fecha_inserccion] <= MAX('Calendario'[Fecha]) &&
OR (Telef[fecha_baja] > MAX('Calendario'[Fecha]), OR (ltelefonia[fecha_baja] = BLANK(), ISBLANK(Telef[fecha_baja])))&&
(ALL(Calendario), (Calendario[Fecha].[Año]=SELECTEDVALUE(Calendario[Fecha].[Año]) && Calendario[Mes Num]=SELECTEDVALUE(Calendario[Mes Num])-1))))
 
Gracias por la ayuda

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@fguijarrob , I think you need somthing similar to HR blog

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

 

You can check the files attached too



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@fguijarrob , I think you need somthing similar to HR blog

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

 

You can check the files attached too



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors