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
ofeliajesus
Helper I
Helper I

Get a value text to the last date by Id text

 

I have a table similar to the below one 

 

ofeliajesus_1-1659021874867.png

and I want a dax measure to give the last date description, the ID and Description are text. 

 

ofeliajesus_2-1659021925791.png

any help would be appreciated
Thank you

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

hi @ofeliajesus 
Please try
Last Description =
CALCULATE ( MAX ( TabeName[Description] ), TabeName[Date] = MAX ( TabeName[Date] ) )

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

hi @ofeliajesus 
Please try
Last Description =
CALCULATE ( MAX ( TabeName[Description] ), TabeName[Date] = MAX ( TabeName[Date] ) )

Hi 

It works, 

but I believe is not optimised due to the fact that I have the error "Resources Exceeded This visual has exceeded the available resources." I need to pull data from 4 tables I think that is the reason.

I will create another post with another level of complexity.

Thank you

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