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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Most current date of a category

Hi,
I have these columns in my data source and I'm trying to bring up the document that has the most recent update.

Ex: I have a document DOCID = 1 And I want to bring the one with the most recent update date, for each different company. How could you do that in power bi?

I appreciate anyone who can help

 

how is it

 

dado1.png

 

how i want it to be

 

dado2.png

 

4 REPLIES 4
Anonymous
Not applicable

here's the google drive link with the pbi file to understand

 

https://drive.google.com/drive/folders/1dxg-LAkHZWWevyxKNIz41cOb9eEyFdkv?usp=sharing 

amitchandak
Super User
Super User

@Anonymous ,

Use this for date updated in a visual table

New measure for last update date =

calculate(max(Table[dateupdated]), filter(Table, Table[Date] = calculate(max(Table[dateupdated]), allexcept(Table, Table[Comapny], Table[Doc ID]))))

 

if needed use similar formula for other columns other than Doc ID and Company

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


the columns that will be used in the table are these, the update date will not appearScreenshot_6.png

Anonymous
Not applicable

I tried to do it this way, but it didn't work. It could be something I'm doing wrong.
With this measure all data disappear

Helpful resources

Announcements
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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