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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Yqy
Helper I
Helper I

Get date from other table columns

I need the earliest start date and latest end date from two different columns and put them as date range

Yqy_0-1677633636560.png

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Yqy , If you need a two columns

 

Min(Table[Start])

 

Max(Table[End])

 

 

If you need as two measures

 

Minx(allselected(Table) , Table[Start])

 

Maxx(allselected(Table) ,Table[End])

 

If you want default a range based slicer , create a calendar with those date, I doubt you can initialize range based slicer

 

calendar(

Min(Table[Start]) , Max(Table[End]) )

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

the calender one works thank you

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Yqy , If you need a two columns

 

Min(Table[Start])

 

Max(Table[End])

 

 

If you need as two measures

 

Minx(allselected(Table) , Table[Start])

 

Maxx(allselected(Table) ,Table[End])

 

If you want default a range based slicer , create a calendar with those date, I doubt you can initialize range based slicer

 

calendar(

Min(Table[Start]) , Max(Table[End]) )

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

the calender one works thank you

Yqy_0-1677736958424.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.