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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / largest and smallest A...
Power Apps
Unanswered

largest and smallest ASCII valued characters in a Datacard

(0) ShareShare
ReportReport
Posted on by 100

Would it be possible to find the smallest character from a Datacard ? So let's say I have 4 different values from datacard {B, D, A, B}

 

Would it be possible to find A as a smallest character in Powerapps ? 

 

Test.PNG

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    With function Min you can do that

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-aggregates

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • nithishguptak Profile Picture
    100 on at

    @Nogueira1306 am I missing anything ? Im new to powerapps thing is I have to populate other datacard value with respect to minimum value from the above 4 datacard values 

     

    Test.PNG

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Nogueira1306_0-1643899025176.png

     

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @nithishguptak 

    The Min function is not going to be any help to you in this case as you are dealing with Characters and not Numbers.

    You will need to sort the values in order to get what you want.

     

    Ex.  

    First(Sort([DataCardValue32.Selected.Value, DataCardValue38.Selected.Value], Value)).Value

    Will give you the minimum value and:

    Last(Sort([DataCardValue32.Selected.Value, DataCardValue38.Selected.Value], Value)).Value

    Will give you the maximum value.

     

    I hope this is helpful for you.

  • nithishguptak Profile Picture
    100 on at

    @Rand Thanks for the help. That's what I was Wondering because in my case I cannot use Min because it isnt an integer. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard