Forum Discussion

jracer007's avatar
jracer007
Helper IV
8 years ago
Solved

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.

  • 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))))

8 Replies

  • zayan's avatar
    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))))
      • zayan's avatar
        zayan
        Regular Visitor

        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.