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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors