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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.