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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sebaskl
Frequent Visitor

Intersection Between Slicer Range and Date Range in Table

Hello everyone,

 

I have a dataset with contract data, and each contract has a start date and an end date. Let's call that range Contract Period

I have a main table in my dashboard that has the info about every individual contract, like so:

contract_numberstart_contractend_contract
101/01/202012/31/2026
201/01/202312/31/2024
301/01/202412/31/2024
401/01/202412/31/2026
501/01/202512/31/2027
601/01/202012/31/2021

 

I want to have a date slicer like this:

sebaskl_0-1698400627307.png

I want this slicer to, with the date range chosen, let's call it Slicer Period, only showcase the contracts whose Contract Period intersect in any way with the Slicer Period. With any way, I say every type of interception, like these ones:

WhatsApp Image 2023-10-27 at 11.02.17.jpeg

I specify this because I only have been able to acheive a slicer that only works for the last type of intersection in the above picture, although I also want the other 3 possibilities included.

To sum up, for the Slicer Range I select with my slicer, I want to see every contract that was active at some point.

 

I have no idea on how to do this, so if someone could help I would really appreciate it!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Ashish_Mathur_0-1698544872453.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Ashish_Mathur_0-1698544872453.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you so much for this... Saved my life ahahaha was going mad because of this problem

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

lbendlin_0-1698517196815.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.