Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
see my problem below in the photo.
here is also a link
https://www.dropbox.com/s/03l9extd2ox8wvw/Check%20date%20within%20a%20date%20range.xlsx?dl=0
Solved! Go to Solution.
@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") Proud to be a PBI 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") Proud to be a PBI Community Champion
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |