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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rajendraongole1
Power Participant
Power Participant

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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