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
mgarcianxp
Frequent Visitor

Return column value for the lowest value of a measure

Hi, 

 

I am struggling with the following. 

I have a table like this: 

mgarcianxp_0-1692950214233.png

I have created a measure with the 2023 YoY growth of Value for every Source. 

And another measure with the average YoY growth of all the sources. 

I want to created a visual like this: 

mgarcianxp_2-1692950334098.png

To have the label only on the last point of the average line, I want to create a measure called e.g. "Average Point". So I need to return the "SourceDate" value for the Source with the lowest growth (I will have the chart sorted by YoY, descending). 

I thought this would be easy, I've done this already with CALCULATE, a measure and a filter for the last quarter. But in this case, I've tried different solutions and it does not work. 

 

Thanks a lot for your help! 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mgarcianxp , for line you can use constant line in analytics pane with fx , you can use a measure

 

consider Index function

 

Power BI Index function: Top/Bottom Performer by name and value- https://youtu.be/HPhzzCwe10U

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@mgarcianxp , for line you can use constant line in analytics pane with fx , you can use a measure

 

consider Index function

 

Power BI Index function: Top/Bottom Performer by name and value- https://youtu.be/HPhzzCwe10U

Thank you!! it worked perfectly! 

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.