cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors