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
danjswade
Frequent Visitor

Extract Data from column based on oldest/newest date

I have a table which has various info sorted by dates. What I'd like to be able to do is select the data in Column D based on the oldest or newest date in Column A.

 

Data:

Column AColumn BColumn CColumn D
    
01/01/2112245
01/02/21781262

 

My current set up on my report is a table which returns the cumulative of Column C over a month. What I'd like to be able to do is next to the cumulative value put the oldest item from Column D and then the newest item Column D, but I can't see a way of doing this. I have a slicer that will adjust the months.

 

Report:

NameOldestCumulativeYoungest
Oranges4510762
1 ACCEPTED SOLUTION
danjswade
Frequent Visitor

Answered my own questions. FIRSTNONBLANKVALUE and LASTNONBLANKVALUE allows me to put column in for the date and return the colum for the data

View solution in original post

1 REPLY 1
danjswade
Frequent Visitor

Answered my own questions. FIRSTNONBLANKVALUE and LASTNONBLANKVALUE allows me to put column in for the date and return the colum for the data

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.

Top Solution Authors