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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors