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 / First Expression with ...
Power Apps
Unanswered

First Expression with excel files wrong return

(0) ShareShare
ReportReport
Posted on by 16

Hi 

on my power apps i've an expression who says :

Value(DataCardValue38.Text)-First(SortByColumns(MYexceltable;"mycolumnname";Descending)).mycolumn

There is no problems with that, the calculation works

 

But the result is wrong because First(SortByColumns(MYexceltable;"mycolumnname";Descending)).mycolumn return wrong number.

it Don't take the first record on the table but one record in the middle of the table.

I Don't undertstand why

 

help me please 

 

 

Categories:
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @laur1RDE24 ,

     

    What is the type of the 'mycolumnname'?

    I guess the issue is caused by the sortbycolumns function.

    Can you use Gallery to check if the order of items stratify your expectations? Just put SortByColumns(MYexceltable;"mycolumnname";Descending) items property of gallery. 

    Also please post back the screenshot to help analyzing the issue.

    Best regards,

    Sik

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard