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

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors