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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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