web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / statistics on the list
Power Automate
Unanswered

statistics on the list

(0) ShareShare
ReportReport
Posted on by 40

Hi

i have a sharepoint list content the request with a date column and a status column and another column

i would like to put the information on the page of the site

  1. request 10 / 10 2020
  2. request 2 / 15 2021

What is the best solution to get the information and put this information on the page of the site ?

is mandatory to use Power Automate for this simple request ?

Regards

Categories:
I have the same question (0)
  • pierrotori Profile Picture
    40 on at

    What  is the most simple way to realize statistics on the sharepoint List ?

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey mate, 

     

    Do you want to visualize SharePoint list data? Perhaps you can use Power BI - https://www.youtube.com/watch?v=okkdghpTF9c

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • pierrotori Profile Picture
    40 on at

    it's a big solution for only to resum a list to give the  total number by years and another basic or simple statistics

    thank you for the youtube link and blog

  • RobElliott Profile Picture
    10,416 Super User 2026 Season 1 on at

    @pierrotori simplest solution is probably to add a List web part to the page and use a JSON-formatted view of that  list. But a bit more info about your data would help.

     

    Rob
    Los Gallardos

  • pierrotori Profile Picture
    40 on at

    yes @RobElliott , i have a sharepoint request list of the request for example

    request.png

    i would like a statistics on the web page site as

    dashboard.png

  • pierrotori Profile Picture
    40 on at

    @RobElliott or @CFernandes is it possible to resolve the problem simply with json or sql or other ?

  • pierrotori Profile Picture
    40 on at

    i'm tryng to use power automate to execute a request on the list 

    any news ?

  • pierrotori Profile Picture
    40 on at

    it's very diificult to create a simply statistics on the list, i'm trying

    -Power BI but i don't have the right in my factory

    -Power Automate

    -chartjs with REST/API

     

    for the last solution is it possible to refresh automatically the graph on a page ? 

     

  • pierrotori Profile Picture
    40 on at

    i try the code but it's seems outdated

     

     

     

     

     function GetAllStatuts(){
     var myURL = "../_api/web/lists/GetByTitle('Demandes%20EDI')/Items?$top=5000&$select=Statut";
     var AllStatuts = [];
     	$.ajax({
     url: myURL,
     async: false,
     method: "GET",
    			headers: { "accept": "application/json;odata=verbose" },
     success: function (data) {
     if (data.d.results.length > 0) {
     alert("success satut");
     AllStatuts = data.d.results;
     for (var i = 0; i < Number(AllStatuts.length); i++){
     alert("in loop");
     AllUniqueStatus.push(AllStatuts[i].Statut);
     } 
     
     AllUniqueStatus = removeDuplicates(AllUniqueStatus);
     alert(AllUniqueStatus.join("-"));
     }
    		},
    		error: function (error) {
    			alert("Error: " + JSON.stringify(error));
    		}
    	});
    	return AllUniqueStatus;
     }

     

     

     

    i have this errorError: {"readyState":4,"responseText":"{\"error\":{\"code\":\"-2147024891, System.UnauthorizedAccessException\",\"message\":{\"lang\":\"fr-FR\",\"value\":\"Attempted to perform an unauthorized operation.\"}}}","responseJSON":{"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"fr-FR","value":"Attempted to perform an unauthorized operation."}}},"status":403,"statusText":"Forbidden"}

     

    it's seems the chart.js doesn't run with sharepoint online ?!?

     

  • pierrotori Profile Picture
    40 on at

    Hi 

    i created a indicator list sharepoint and updated the list since power automate

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard