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 / Recreating tasks tab i...
Power Apps
Answered

Recreating tasks tab in project app height incorrect

(0) ShareShare
ReportReport
Posted on by 190

From the standard project form I am recreating the tasks tab.

Exact same settings.

With section 100% one column

Subgrid - Project (Project Tasks) Table

Pxwebcontrol control added on Web.

 

But on the original it expands to full size and on my version it is 153px and only shows add new task table. I thought this was because of the maximum number of rows (4) and unchecked expand height box but they are both THE SAME.

 

Not WorkingNot WorkingWorkingWorking

 

 

Categories:
I have the same question (0)
  • Hassan_SZ_365 Profile Picture
    542 on at

    Hi @Splotchy0541 ,

     

    The issue you're facing with sorting appears to be due to the sorting function treating your numbers as text rather than numerical values. In Power Apps, when you sort a text field that contains numbers, it will sort them alphabetically, which is why "100" comes after "1" instead of before "2".

    Here is a quick way to resolve this:

    You need to ensure that the sorting is based on a numeric field. Since your 'OPEN DAYS' column is a calculated field that results in text (including " Dia(s)" at the end), you'll want to sort based on the raw numeric value of the 'OPEN DAYS' column before it's converted to text with the added " Dia(s)".

    Assuming that the 'OPEN DAYS' column contains the raw number without text, your sorting formula should look like this:

     

    Sort(COMLIS, Value('OPEN DAYS'), Descending)

     

    If 'OPEN DAYS' is not a separate column, create a new column that stores the numeric value of the days, then sort using this new column.

    In case you cannot add a new column to your source data, you might need to create a collection or a temporary table within Power Apps that strips the text and retains only the numeric part of your 'OPEN DAYS' field, which you can then sort numerically.

    The formula for creating such a collection would look something like this:

     

    ClearCollect(
     CollectionSorted,
     AddColumns(
     COMLIS,
     "NumericOpenDays", Value(Text(ThisItem.'OPEN DAYS'))
     )
    );

     

    And then you sort CollectionSorted by NumericOpenDays:

     

    Sort(CollectionSorted, NumericOpenDays, Descending)

     

    This will create a collection with a numeric representation of your 'OPEN DAYS' which can be sorted appropriately. Remember to replace 'OPEN DAYS' with the actual internal name of your column if it's different.

     

    Best Regards,
    Hassan Raza

  • Splotchy0541 Profile Picture
    190 on at

    Hi Hassan,

    I think your response was meant for a different thread?


  • Verified answer
    Splotchy0541 Profile Picture
    190 on at
    The fix was to expand first component to full tab in display options.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard