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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RedTangerine
Frequent Visitor

Earliest "Date Entered" for a key with multiple entries

I am trying to create a new tables that extracts the Earliest "Date Entered" for a key with multiple entries.

Each of my Entries has an Entered Date and an Incident ID. But as incidents updated new copies come along with new ID and Entered Dates.

 

So I end up with:

ID                            Entered Date

1                              1/2/15

1                              2/3/15

2                              3/3/15

3                              7/6/15

3                              5/2/15

 

I need to extract only the ID and Earliest Entry Date.
Unfortunetly the unique ID key is out of order so I need to use teh ID and Entered Date.

Using the Table above only the bolded

ID                  Entered Date

1                              1/2/15

1                              2/3/15

2                              3/3/15

3                              7/6/15

3                              5/2/15

 

New Table

ID                  Entered Date

1                              1/2/15

2                              3/3/15

3                              5/2/15

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @RedTangerine,

 

You could try to create a calculated table like this:

 

Filter table = SUMMARIZE(Entry,Entry[ID],"Date",min(Entry[Entered Date]))

1.PNG

 

Above table won't be dynamically updated if you apply any slicer/filter in report page. If the data source is refreshed, please click the "Refresh" button manually, above table will update data.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-yulgu-msft
Employee
Employee

Hi @RedTangerine,

 

You could try to create a calculated table like this:

 

Filter table = SUMMARIZE(Entry,Entry[ID],"Date",min(Entry[Entered Date]))

1.PNG

 

Above table won't be dynamically updated if you apply any slicer/filter in report page. If the data source is refreshed, please click the "Refresh" button manually, above table will update data.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

 

In the visual, drag ID to the row labels and write the following measure

 

=MIN(Data[Entered Date])


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

Are you able to expand upon your answer. 
Will what your describing create a filtered table....

 

Hi,

 

No.  It will not create a filtered table.  It will create an actual visual.


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

unfortunately I need it filtered to new table as I need to compare earliest entered date to another date field occurred date. 
Comparing how long it took to enter the incident into the database compared to the date that it occurred. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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