Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dofrancis3
Resolver I
Resolver I

Extract value last date

Hi Guys!

I need your help!

would like to extract (display) the percentage of vaccination for the latest date for each country.

Please the screen below:

 

dofrancis3_0-1710780519604.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dofrancis3 

 

Thank you for your prompt reply @Greg_Deckler.

Here I have another idea in mind, and I would like to share it for reference.

Hope the following dax will help you.

Measure = 
var latest_date = MAX('Table (2)'[Date of  vaccinated])
RETURN CALCULATE(SELECTEDVALUE('Table (2)'[Number of  vaccinated]),FILTER('Table (2)','Table (2)'[Date of  vaccinated]=latest_date))

vjialongymsft_0-1711526471434.png

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @dofrancis3 

 

Thank you for your prompt reply @Greg_Deckler.

Here I have another idea in mind, and I would like to share it for reference.

Hope the following dax will help you.

Measure = 
var latest_date = MAX('Table (2)'[Date of  vaccinated])
RETURN CALCULATE(SELECTEDVALUE('Table (2)'[Number of  vaccinated]),FILTER('Table (2)','Table (2)'[Date of  vaccinated]=latest_date))

vjialongymsft_0-1711526471434.png

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@dofrancis3 (1) Lookup Min/Max - Microsoft Fabric Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.