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

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors
Top Kudoed Authors