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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rajendraongole1
Post Prodigy
Post Prodigy

Latest value have to pick based on end date field.

 

Hi,

 

Need help as per below table information. i have to pick the latest value (%) based on the end date . some of the end dates are availables with blank though i have to refer the value with latest value showing up in below table.

 

89% have to show in card vix.

 

Please suggest.

 

End Date                  Completion

4/12/2019100%
6/22/201990%
6/20/202189%
12/13/2021 

 

 

 

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @rajendraongole1 ,

 

Is this what you want? Please refer to my .pbix file.

v-lionel-msft_0-1616464931913.png

 

Best regards,
Lionel Chen

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

4 REPLIES 4
v-lionel-msft
Community Support
Community Support

Hi @rajendraongole1 ,

 

Is this what you want? Please refer to my .pbix file.

v-lionel-msft_0-1616464931913.png

 

Best regards,
Lionel Chen

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

amitchandak
Super User
Super User

@rajendraongole1 , Try a new measure. If Completion is a measure

 

lastnonblankvalue(table[End Date],[Completion])

 

if it is a column

lastnonblankvalue(table[End Date],max(Table[Completion]))

thanks for your reply amit, 

 

I have tried both the options , it is not picking up the right value. as in last end date we have blank in % completion so reported with 0. but expected to pick the value of 89% which is other than blank information.

 

any suggestions. pls 

As per the end date, it has to take the end date before value in completion.

 

Pls suggest.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors