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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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