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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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