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 / Gallery to pick the st...
Power Apps
Unanswered

Gallery to pick the status column

(0) ShareShare
ReportReport
Posted on by 8

Hi,

 

I have set up a SharePoint list to track my project status like the below scenario:

jakeandsnake_0-1636103857552.png

1. Columns "Step 1" to "Step 10" are boolean values.

2. I could not change the list structure.

 

I'm building an App and trying to use Gallery to show each project next step according to the SharePoint List data, the below is the expected table:

jakeandsnake_1-1636104046461.png

 

How can I achieve that? 

Thanks in advance!

Categories:
  • PTBBSolutions Profile Picture
    691 on at

    Hi @jakeandsnake ,

     

    Add this to your gallery items and refer to the column "Next Step":

    AddColumns(
     [Source name],
     "Next Step",
     If(
     Step1 And !Step2,
     "Step2",
     If(
     Step2 And !Step3,
     "Step3",
     If(
     Step3 And !Step4,
     "Step4",
     If(
     Step4 And !Step5,
     "Step5",
     If(
     Step5 And !Step6,
     "Step6",
     If(
     Step6 And !Step7,
     "Step7",
     If(
     Step7 And !Step8,
     "Step8",
     If(
     Step8 And !Step9,
     "Step9",
     If(
     Step9 And !Step10,
     "Step10"
     )
     )
     )
     )
     )
     )
     )
     )
     )
    )
  • WarrenBelz Profile Picture
    156,750 Most Valuable Professional on at

    HI @jakeandsnake ,

    You need to go backwards on this as below

    AddColumns(
     YourListName,
     "Next Step",
     If(
     Step10,
     Complete",
     Step9,
     "Step 10",
     Step8,
     "Step 9",
     Step7,
     "Step 8",
     Step6,
     "Step 7,
     Step5,
     "Step 6",
     Step4,
     "Step 5",
     Step3,
     "Step 4",
     Step2,
     "Step 3,
     Step1,
     "Step 2",
     "Step 1"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    156,750 Most Valuable Professional on at

    Hi @jakeandsnake ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard