Requirement: CountRows in gallery using label control in Power apps.
Initially need to have a Sharepoint List “Ideas”
Take a Blank screen Canvas App
- Add a TextInput control in that insert a label control
- According to their Status value add the label and logics to that.
- Label Control 1- text property:- CountRows(Gallery.AllItems)
- New Idea is Status Value and inside gallery the 3 new idea are exists. This is Displayed using Formula CountRows(Gallery(add the gallery name at here).AllItems)
- Approve Idea is Status Value and inside gallery the 2 Approve idea are exists. This is Displayed using Formula CountRows(Gallery(add the gallery name at here).AllItems)
- Implemented Idea is Status Value and inside gallery the 3 Implemented idea are exists. This is Displayed using Formula CountRows(Gallery(add the gallery name at here).AllItems)
- Declined Idea is Status Value and inside gallery the 3 Declined idea are exists. This is Displayed using Formula CountRows(Gallery(add the gallery name at here).AllItems)