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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AgeOfEgos
Helper I
Helper I

Latest Value in a chart

I have a table similar to the below

 

Table

 

 

I'd like for a gauge chart to show the LATEST value--so we can see where a physician CURRENTLY sits on a measure.  When I create a gauge element, it automatically takes the  MAX value of my performance rate column---which could be an older entry (and not where the physician currently stands).  How can I make it grab the latest date value by default instead of the max?  Also, I have a date slicer--and I'm unsure how any possible solution would interact with that slicer (for anyone kind enough to help me) :).  Thanks!

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

Hi AgeOfEgos,

 

Maybe lastdate function can meet your requirement, please refer to: https://msdn.microsoft.com/en-us/query-bi/dax/lastdate-function-dax.

 

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi AgeOfEgos,

 

Maybe lastdate function can meet your requirement, please refer to: https://msdn.microsoft.com/en-us/query-bi/dax/lastdate-function-dax.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
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.