DAX Date Function from Range

GiacTorrence

New Member
Joined
Dec 2, 2014
Messages
40
Hi all,

I'm currently working with a fairly large data set within power pivot (approximately 1 million rows of data), and am trying to find the earliest date that correspond to a range of IDs that repeat, but are scattered throughout.

For example,

1234 February 2, 2012
5555 May 2, 2004
7777 July 2, 2004
7777 May 6, 2002
1234 August 8, 1997
1234 December 12, 2012
5555 December 22, 1999
0000 August 8, 2008
0000 July 7, 2007

I tried the FIRSTDATE and MIN functions, but they didn't seem to work. Essentially, I am looking for a function that will display the earliest start date for 1234, 5555, 7777, as well as create a second calculated column to to identify the max end date (from which I could then calculate duration in a third column) etc...I'm fairly certain there is a middle-man function that's escaping me.

Any help would be greatly appreciated!

D.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top