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 / Check if all Subtasks ...
Power Apps
Answered

Check if all Subtasks are at 100%

(0) ShareShare
ReportReport
Posted on by 539

Hello,

 

i am developing a task Planner app from a SPO list.

 

I have 2 Task Categorys. MainTask and SubTask in the same list. The filtering and only showing respective tasks works fine.

 

The Maintask hast a Text Column with TaskID that is generated. e.g. IN-0001 and type MainTask and the Subtast hat the ID IN-0001 and type SubTask.

 

I can edit each of these tasks separately in a popup.

 

I have a "progress" column with the range of 0 to 100 (0,25,50,75,100).

 

I want te be able to only change the Status of the Maintask if all the respective Subtasks are at 100.

How can i achieve this?  is this even possible?

 

There could only be 1 SubTask or there could be 10 Subtasks

 

Thank you and BR Niklas.

 

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

    Okay...

    Use count rows to check how many sub tasks are associated to that task and, after that, use count rows to check how many are at 100

    If first count rows = second count rows, it means that all the sub tasks are at 100.

     

    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!

  • Verified answer
    niklasjegg Profile Picture
    539 on at

    @Nogueira1306  i am sorry this was a bit confusing.

    I had a workaround with a second gallery i needed anyway. The Gallery shows all items that are subtasks and have the same "TaskID" 🙂

    If(
     Details_Progress_Input.Selected.Value = "100",
    
     ForAll(Details_Subtasks_Gallery.AllItems,
     If(
     Progress <> "100",Notify("Each Task has to be at 100 percent!",Error) And Reset(Details_Progress_Input)
     )
     )
    )

     Thanks for the help tho. The Countrows would have also worked.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard