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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.