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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
tahafanaswala
Regular Visitor

How to find last value based on cutoff date using DAX

I have these two tables (shown below): one is a table of people, and the other is a table of a score assigned to that person on a given date. I have a what-if parameter configured in Power BI. How can I use that parameter as a cut-off date to get the last score for each person (if the cutoff date is before any scores were assigned, the result should be blank). For example, if I have a cut-off date of 3/14/2023, the values persons 0, 1, 2 should be 30, 20, and 45 respectively. Thanks for your help!

tahafanaswala_0-1698390826590.png

tahafanaswala_1-1698390845293.png

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

1 REPLY 1
lbendlin
Super User
Super User

lbendlin_0-1698514870114.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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