Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

New Member

how to get Previous row of a gallery using power apps?

suppose I have a gallery with one rectangle and one status label. The gallery has four rows. If the previous row's status is 'approved' and the rectangle is filled with color Orange, then the current row's status is 'approved' and the rectangle will be filled. If the previous row's label status is 'pending' and the current row's status is 'approved', then I want the rectangle to not fill. See in the image, the first row is 'pending' but the others are 'approved' with the rectangle filled. I want the user to restrict step by step when the first row's status is 'pending




Super User
Super User

Is this a Power App question? You are in Power Query forum of Power BI. 

Try posting in the Power Apps forums.

Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors