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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Check date within a date range

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Anonymous Please try this as a "New Column" in EmpContract table. 

 

Isworked2ClientsInFirst3Months = 
VAR _CountCheck = CALCULATE(DISTINCTCOUNT(Test91ClientContract[Client]),
                                    FILTER(Test91ClientContract,Test91ClientContract[Name]=Test91EmpContract[Name] 
                                                            && Test91ClientContract[EndDateAtClient] <= EDATE(Test91EmpContract[ContractStart],3)
                                            ) )
RETURN IF(_CountCheck=2,"Y","N")  

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

1 REPLY 1
PattemManohar
Community Champion
Community Champion

@Anonymous Please try this as a "New Column" in EmpContract table. 

 

Isworked2ClientsInFirst3Months = 
VAR _CountCheck = CALCULATE(DISTINCTCOUNT(Test91ClientContract[Client]),
                                    FILTER(Test91ClientContract,Test91ClientContract[Name]=Test91EmpContract[Name] 
                                                            && Test91ClientContract[EndDateAtClient] <= EDATE(Test91EmpContract[ContractStart],3)
                                            ) )
RETURN IF(_CountCheck=2,"Y","N")  

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.