cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors