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

View all the Fabric Data Days sessions on demand. View schedule

Reply
azizdoghmi
Helper I
Helper I

Date slicer

Hi

 

I have a table with 4 fields:

 

Project --Task-- start date--end date

P1--Alpha--01/02/2019--12/11/2020

P1--Beta--01/05/2020--09/12/2020

P2--Alpha--01/05/2019--15/12/2020

P3--Alpha--01/04/2019--19/09/2021

 

I would like to create a slicer based on the min and max of start & end date

I have create a date table and I succed to set the min & max for all table

Slicer is from 01/02/2019 to 19/09/2021

 

But when I filter the project 1 , it doesn't work .. the slicer gives the same value

I should have only min & max of project1 so from 01/02/2019 to 09/12/2020

 

Many thanks for your help

 

 

3 REPLIES 3
Nathaniel_C
Community Champion
Community Champion

Hi @azizdoghmi ,

Please show us your tables, and your expected outcome.

Please read this post to get your question answered more quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490





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

Proud to be a Super User!




I have 2 tables:

Table Project:

Project --Task-- start date--end date

P1--Alpha--01/02/2019--12/11/2020

P1--Beta--01/05/2020--09/12/2020

P2--Alpha--01/05/2019--15/12/2020

P3--Alpha--01/04/2019--19/09/2021

 

Table Calendar:

Date = calendar(min(Project[start date],max([Project end date])

 

The slicer is based on Calendar Date.

 

When I filter a project, the slicer should display the min of start date & max of end date ONLY for project 1 and not for all the table

 

thnaks

dax
Community Support
Community Support

Hi azizdoghmi,

Because the slicer will use a column field instead of a measure, when you filter the project, it won't affect on slicer. I suggest you could sumbit this reqirement on power-bi-ideas .

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors