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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

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