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
jracer007
Helper IV
Helper IV

Last value

Hello community,
I want you to help me by creating a measure to take the last value of a column: https://docs.google.com/spreadsheets/d/1tJD3U_IWL1PX9CwToPW9vk2-YTT-rIJLTqJtqzt02KU/edit?usp=sharing

However, I am taking the highest value and I do not know why.

Thank you.

1 ACCEPTED SOLUTION
zayan
Regular Visitor

Hi,

You could use the below formula to return the last value of the column.

(This is to get the last value of column A)

 

=INDEX(A:A,MAX((A:A<>"")*(ROW(A:A))))

View solution in original post

8 REPLIES 8
Ashish_Mathur
Super User
Super User

Hi @jracer007,

 

So the answer you are expecting is 92029 (the value in cell A708).  Am i correct?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Yes

Hi,

 

See my solution here.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
zayan
Regular Visitor

Hi,

You could use the below formula to return the last value of the column.

(This is to get the last value of column A)

 

=INDEX(A:A,MAX((A:A<>"")*(ROW(A:A))))

is a measure?

Not a measure, you could use the formula in the sheet youve provided.

 

If you need the last value, you can click the dropdown of the value column in power BI, no need of measures.

 

If you could share your power bi screen, it's more easy to answer.

And with measure?
jracer007
Helper IV
Helper IV

plz

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.