Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have two date fields: ProjectOpenDate, and ProjectCloseDate.
I'd like to be able to use a multiple date filter (of two separate ones if that does the trick) that allows me to answer the question:
"What projects were open in between Date1 and Date2?" where users can select Date1 and Date2.
The logic would be as follows.
So if a project would be opened and closed within the selected frame, it would show up. If a project would be closed one day after Date1 it would be considered open by the filter and therefore show up.
Any thoughts?
Solved! Go to Solution.
Hi @TDIDaniël ,
Based on your description, I did a test. Is the following result you want?
measure:
Measure =
var x1=SELECTEDVALUE('Date 1'[Date 1])
var x2=SELECTEDVALUE('Date 2'[Date 2])
return
IF(
x2>=MAX('Sheet2'[ProjectOpenDate])&&x1<=MAX('Sheet2'[ProjectCloseDate]),1,0)
Result:
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @TDIDaniël ,
Based on your description, I did a test. Is the following result you want?
measure:
Measure =
var x1=SELECTEDVALUE('Date 1'[Date 1])
var x2=SELECTEDVALUE('Date 2'[Date 2])
return
IF(
x2>=MAX('Sheet2'[ProjectOpenDate])&&x1<=MAX('Sheet2'[ProjectCloseDate]),1,0)
Result:
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@TDIDaniël , refer if my HR Blog can help
https://www.youtube.com/watch?v=e6Y-l_JtCq4
You should be able to select a date range from date table.
Thanks for this, @amitchandak
Whils this is very helpful, the goal for me is to have a (or two) date slicers that allow me to actually set two dates, and then show all the employees that were hired in that period of time. So an overlap of the hiring period and the selection period.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |