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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.