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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.