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

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