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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Min date for every gro

Hi All,

 

can somebody please help me.

 

i have below data.

 

Project 1

Mile Stonestart date 
 milestone101/02/2020 
 milestone211/02/2020 
 milestone321/02/2020 
 milestone426/02/2020 
Project 2   
 milestone101/03/2020 
 milestone211/03/2020 
 milestone321/03/2020 
 milestone426/03/2020 

 

now i want to create out put, min date of every section. strange requirement is i want to keep projects in slicer and min date should change by slicer selection (if i select project 1 it should return 01/02/2020 same for project 2 01/03/2020.

 

thanks in advance.

 

Thank you,

Narendra.

3 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @Anonymous ,

 

You have two options or change the sumarization to the minimum value (first value) if you want you can also create a measure similar to:

MIN(Table[StartDate])

Be aware that depeding on the way you place things in the visualizaiton you may need to make some adjustments so that the measure is blank when more than one project is selected.

 

Similar to this:

IF(DISTINTCTCOUNT(Table[Project]) = 1; MIN(Table[StartDate]); blank())

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

amitchandak
Super User
Super User

Calculate(Min(table[Start Date]),allexcept(table[project]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Anonymous
Not applicable

Hi @Anonymous ,

You can create one measure as below:

 

Min date = var a=max('project'[Project]) var b= CALCULATE(min('project'[start date]), filter(all('project'),'project'[Project]=a)) return b

 

min date.JPG

Best Regards

Rena

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Anonymous , three solutions has been provided. Can you please check if your problem is resolved.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

sorry for late reply.

 

yes i have managed to achieve my requirement using all 4 solutions to gether.

 

Thank you,

Narendra.

@Anonymous, Please post the solution, so others can get help and mark that solution.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @Anonymous ,

You can create one measure as below:

 

Min date = var a=max('project'[Project]) var b= CALCULATE(min('project'[start date]), filter(all('project'),'project'[Project]=a)) return b

 

min date.JPG

Best Regards

Rena

amitchandak
Super User
Super User

Calculate(Min(table[Start Date]),allexcept(table[project]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
MFelix
Super User
Super User

Hi @Anonymous ,

 

You have two options or change the sumarization to the minimum value (first value) if you want you can also create a measure similar to:

MIN(Table[StartDate])

Be aware that depeding on the way you place things in the visualizaiton you may need to make some adjustments so that the measure is blank when more than one project is selected.

 

Similar to this:

IF(DISTINTCTCOUNT(Table[Project]) = 1; MIN(Table[StartDate]); blank())

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



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