Show total list item count on SharePoint home page

Occasional Visitor

Hi Experts,

I am kind of new to SharePoint online and I need to implement web part on SharePoint online Home page.

I want to show on the Home page that my List A has

  • Total X number of Items
  • X number of items has been approved
  • X number of items needed an attention

Can I show something like this using Javascript web part (script) or PowerApps?

Please guide me, I havent seen anywhere anyone has implemented something like this. Sample image is attached here.

Matrix2109_0-1624126660174.png

 

Thanks in advance!

 

1 Reply

@Matrix2109 If you are using SharePoint online modern experience, you should consider using SharePoint Framework to develop a simple web part which will read list items using SharePoint REST APIs & show the count based on the different conditions.

 

For more information:

  1. Build your first SharePoint client-side web part (Hello World part 1) 
  2. Retrieve SharePoint List Items Using SharePoint Framework Development Model 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.