How to access data from a survey in sharepoint - sharepoint-2013

I have a survey with few questions in it,i have to access data such as questions their options and responses to each question from the survey list.
My requirement is to make a pie chart for each question of the survey based on their responses.

You can use Excel to build the pie chart using the SharePoint survey list as a data source. You can then deploy the Excel workbook to SharePoint and use Excel Services. Excel Services Web Parts can be added to Web Part pages.
More info on SharePoint list data sources in Excel here: http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx.
PS. If you find info about using the Chart Web Part, it has been discontinued on SP 2013.

Related

Create a report in powerbi service through APIs in React

We have a React app.
What I actually want to do is to send JSON to power-bi service, and on the basis of that json data, powerbi service should create a visual/graphical report for me.
I want this whole process to be automated
What I have done so far is-
I have created a push dataset using powerbi REST APIs mentioned in this doc.
https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-post-dataset-in-group
Additionally have created a table inside that dataset through this REST API in the following doc.
https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-post-rows-in-group#code-try-0
Now, what I want is to create a visual report/graph from this table inside this dataset.
There are APIs to clone an existing report.
There are APIs to update/delete a report.
But I could not find any APIs that can be used to create a report from JSON or from an existing dataset.
MORE-
Additionally in regard to creating a report what i have found is just this page in the whole powerbi docs.
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/create-edit-report-embed-view?tabs=embed-for-your-organization#how-to-create-a-report
This could be helpful as i also want to embed the created report in my React app at the end.
however I tried it in my react app, and couldn't make it work.
Is this even possible to create a powerbi visual report (not a paginated report) with the help of REST APIs, or they can only be created manually?
Please lead my way!
PowerBI Rest APIs are used to Manage PowerBI Content, Embed Power BI Content, Perform Admin operations.
Create a Report in Power BI Service:
Follow the documentation to create a report in Power BI service.
Please note that, Currently Power BI service only supports published dataset or pasting or manually entering data in a table. To connect to other resources, download Power BI desktop.
Create a Report in Power BI Embedded:
Power BI Embedded allows us to create, edit and save reports.
Please note that, a report can be created in powerbi-embedded only if we have an existing dataset. Refer to this documentation on how to create, edit and save reports in powerbi-embedded.
References:
GitHub - microsoft/PowerBI-Developer-Samples: A collection of Power BI samples for developer use.
Embed Power BI content using a sample embed for your organization application
Embed Power BI content using a sample embed for your organization application

Rest API to read/access the visualizations in a Report

I am planning to have a ISV application created with visualizations from multiple reports. kind of dashboard created in ISV instead of using PowerBI dashboard.
I have see Rest APIs to read all the pages in the report however could not find API to read the visualizations in Report/Page. There is JavaScript API to read visualizations from page which will need the report to be loaded to the browser and I am looking for a server side solution to embed the visualizations from Report to the ISV application.

how to export the dashboard to excel report at power BI

I'm new at the Power BI.
I created dashboard on Power BI and I have published to the web
when opening the dashboard on custom URL I need to export the dashboard to excel report
can I do this in Power BI or not
I new I can to do this in Power BI web APP but I need do that in my dashboard URL
thank you
This "custom URL" that you mention makes me think that you used Publish to web. One of the limitations of this feature is that you can't export the data:
Reports using row level security.
Reports using any Live Connection data source, including Analysis Services Tabular hosted on-premises, Analysis Services Multidimensional, and Azure Analysis Services.
Reports shared to you directly or through an organizational content pack.
Reports in a group in which you are not an edit member.
"R" Visuals are not currently supported in Publish to web reports.
Exporting Data from visuals in a report, which has been published to the web.
ArcGIS Maps for Power BI visuals.
Reports containing report-level DAX measures.
Single sign-on data query models.
Secure confidential or proprietary information.
The automatic authentication capability provided with the Embed option doesn't work with the Power BI JavaScript API. For the Power BI JavaScript API, use the user owns data approach to embedding.
You can vote for this feature though.

Can i generate dashboards through Power BI and publish it directly to clients website?

I am newbie to web technology ,so i am not able to get the steps for doing this.
I will have data fetched from data base and do some report generation and dashboarding in power BI.
I need to integrate the dashboards and reports on weekly basis to clients website.
Do i need to generate apis or some other alternatives?
There is the Publish to web option. You can copy either a url to your report or the html code you can then embed wherever you want. You can find Publish to web in the report menu. If it is not there, ask your global admin to activate it in settings.

Power Bi - Integrate a Report into an app - Export functionality

When I show a Power Bi report in an iframe within my web app there's no Export functionality available. Is there a workaround for this?
Export of data and Print are two pieces of functionality that appear to not be supported by Embed or authenticating with Azure Active Directory.
The good thing about the PowerBI team is that they release updates to PowerBI online regularly so overnight it might just start working..
I suggest you vote on this on the ideas page so that it becomes prioritised.