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 / Sorting by calculated ...
Power Apps
Unanswered

Sorting by calculated text column not accurate

(0) ShareShare
ReportReport
Posted on by 184

Hi, 

 

I have a calculated text column called MeasureID that does not sort correctly (see screenshot)

Schwartz_Cory_0-1675774516874.png

 

Can someone explain how I can fix this?

 

For context, the Calculated MeasureID column is using this function:

 

Concat(at_strategicpillar.at_pillarnumber, ".", at_measurenumber)

 

aka: it concatenates the pillarnumber from the strategicpillar lookup column + a period + the measure number for the current item.

 

Categories:
I have the same question (0)
  • Anchov Profile Picture
    1,986 on at

    have you tried converting your string to a value, then sorting as a number?

    Value(Concat(at_strategicpillar.at_pillarnumber, ".", at_measurenumber))

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers!
    Rick Hurt

  • Schwartz_Cory Profile Picture
    184 on at

    The Value function does not work for calculated columns in dataverse

    Schwartz_Cory_1-1675776751169.png

     

    However, I was able to create a decimal column called M-ID using this function

    at_strategicpillar.at_pillarnumber + (at_measurenumber/10)

    and I am still getting the same results (see below)

     

    Schwartz_Cory_2-1675776840549.png

     

     

  • Anchov Profile Picture
    1,986 on at

    Sorry, I missed the part that this was Dataverse, and not power apps.

  • Schwartz_Cory Profile Picture
    184 on at

    The Sorting is for the Power App, I was able to fix it inside of powerapps using this Sort function:

     

    Sort(MyTable,Value(MeasureID))

    Wrapping it around a Value() fixes it inside of power apps, but now I have a delegation issue. Any ideas to fix the delegation issue?

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard