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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mkmaheshkumar
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

 

mkmaheshkumar_0-1712037634359.png

 

1 REPLY 1
ToddChitt
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

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors