web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get a value from last ...
Power Apps
Answered

Get a value from last item from SP-List

(0) ShareShare
ReportReport
Posted on by 122

Hi all,

I have a sharepoint-list with some different articles like Cleaning-Stuff, TV's, Coffee and so on....

Part or this column is also the price.

 

This Articles aren't just one time in this list, they are multiple there...

 

 

Now i would like to get the price from the last article, selected from a ComboBox. Is this possible?

Tried with this Syntax:

PMO_CH_0-1624380941530.png

 

 

Thank you very much.

 

Categories:
I have the same question (0)
  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @PMO_CH ,

    It looks like there is nothing wrong with your code, so what is your issue now?

    Usually, to get the value from the last item, I will use formula like this(you can add a label and check if you can get a correct result using this code):

    Pay attention to use "." instead of ";" outside the Last() function to get a specified value.

    Last(Filter(StockDate;Title=ComboBox1.Selected.Result)).EK_x002d_Preis

    If the EK_x002d_Preis is a Text column, you can add a Value() outside above code to make the result into a number format, so that you can directly use this result to do some calculations.

    Value(Last(Filter(StockDate;Title=ComboBox1.Selected.Result)).EK_x002d_Preis)

    Best regards,

    Allen

  • PMO_CH Profile Picture
    122 on at

    Thanks, it works perfect 😀

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard