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 Apps
Answered

Max Length Error

(0) ShareShare
ReportReport
Posted on by 189

Hi,

I am having a recurring issue with the Max Length error - I had changed the source list from a text to number field, refreshed the data on the app, deleted and readded the card but still getting the max length error - any ideas how I can clear this??

 

This is what appears in the MaxLength Box (column name is Slope (%).

 

DataSourceInfo([@'Name of List'], DataSourceInfo.MaxLength,"Slope_x0028__x0025__x0029_")

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @RRMX1 ,

     

    Please try this formula:

    DataSourceInfo([@'Name of List'], DataSourceInfo.MaxValue,"Slope_x0028__x0025__x0029_")

     

    v-xiaochen-msft_0-1619515167570.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

  • RRMX1 Profile Picture
    189 on at

    Thank you that has solved it! 

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard