To Review

In Episode 1, we went through the creation of a short survey using the Microsoft Office 365 App called Forms accessible at forms.office.com. Remember there are various options when creating your form such as:

  • The type of questions (Text, rating, dates, etc)
  • branching options to create a flow to the next question based on the user’s previous answer
  • using the Settings panel to control who can access your Form and when it’s open
  • applying a theme to your form to help engage your respondents

 

This week we are going to look at how we can work with the data our Form collects when our survey respondents fill it in.

There are several ways we can do this:

  • Simply download an Excel file from your Forms Responses page
  • Use the Microsoft Office 365 App Flow to add each Form response to either a SharePoint Site, or a Power BI streaming dataset

 

Downloading an Excel File from Forms

This is the easiest way to access your Form data and analyse the responses you have gathered.

Simply click on the Responses Tab of your Form and click on the Open in Excel link:

Click Open in Excel



This will download a static version of the Form data (it’s not linked to the Form and won’t update). You can then analyse the data in Excel, the data is already in an Excel Table so creating Pivot Table and Pivot Charts is a great way to see what your users are saying.



 

Using Flow to add Form Responses to SharePoint Lists

This is a great use of the Microsoft Office 365 workflow automation App Flow. When someone responds to our Survey that will Trigger a flow of actions.

First we need to go to Flow at flow.microsoft.com.

In Flow there are many Templates that you can use and modify for your purpose, if required. On the left-hand menu select Templates and then search for Forms. Many different templates appear with various actions triggered by a Form response.



Click on the first tile (or the tile labelled Record form responses in SharePoint), this will first confirm any required connections (in this case Forms and SharePoint) before loading the Flow into edit mode for you to setup.

 

The Flow is relatively easy to setup, much of it will pre-populate based upon your user account and connections. First we need to select our Form that we want to connect to:

While we have setup our Trigger (when a new response is submitted to our Student Survey), we also need to tell Flow which Form item we want to get details from. In the next step Get Response Details also select the same Form Name:



 

We then want to create a List in our SharePoint Online Site to store our responses.

The List should have a column for each piece of data you want to capture including respondents email, response time and a column for each question (remember to use the right data types for your columns – numbers, text, dates, etc)



 

In your Flow you can then choose your SharePoint Site name and the List you created. Remember only the sites and lists you have permission to access and edit will be visible. Some lists won’t show up automatically, but you can edit a “Custom Value” with the List name (check your spelling as well!)

Once this is selected the list column names will populate. Select each column name and the Dynamic Content Menu will appear on the right. Here we select Items like the Survey Questions and assign them to columns in our SharePoint List. When the Flow runs, it will add those values to our list:



Then Click Save and you are finished! When someone responds to the Survey, their responses will now be entered on the SharePoint List.

 

Adding the Forms data to a Streaming Dataset

We will continue to use the same Flow as before and add an additional action. We want to also add the Forms data into a streaming (live) dataset, so we can see instant analysis in a Power BI report or dashboard.

First add a Parallel Branch to the Flow:



Then add the Power BI action “Add rows to a dataset (preview)” – notice that this action is still in preview mode so it’s possible you may encounter issues or bugs until it’s made generally available.



Next we need to create a streaming dataset in our Power BI workspace. Browse to app.powerbi.com and locate the workspace you want to create the dataset in.

Then click on the name of the workspace to see it’s contents. In the top right-hand side select New and then Streaming dataset:

 



Next select the API streaming dataset and click Next:



Just like our SharePoint List we also need to create the values in our streaming dataset for each of our Form responses (remember to select the correct data type for our responses). Script will be created automatically for you (you can ignore this for now). At the bottom turn Historic Data Analysis ON, this will store the live survey responses (and it will store about 5 million rows of data!) and click Create:



 

Now we can return to Flow, and in our new Power BI action we can select our Workspace, Dataset, Table and input our Survey Values:



Our Flow now will save the responses in SharePoint and into a streaming dataset. We might not want to do both of these. But it gives us a record in SharePoint and a live analysis of results in Power BI. You can always just use Flow to do one or the other. Or you could use Flow to add Form responses to an Excel Spreadsheet stored on OneDrive – many possibilities!!! If you like what you see then check out our Office 365 courses.

In Episode 3, we will look at how we can create a Power BI Report. Based on these datasets and embed the Report into a SharePoint Online page.

Why choose Nexacu?

Valued by Individuals

4.8/5
Over 15837 Reviews
Training is really good. Topics selected were good and all questions were answered patiently. Will prefer this facilitator for the next sessions. -Power BI Intermediate Canberra
suz - Power BI Intermediate, .
Great course, great trainer learned alot -Analysis & Dashboards Brisbane
Karen - Analysis & Dashboards, .
Found it to be very informative. Now I need to go and put it into action. Jagg was an excellent trainer, just the right level of understanding of the differing skills in the room. -Power BI Intermediate Adelaide
John - Power BI Intermediate, .
Thank you -Power BI Intermediate Canberra
Anon - Power BI Intermediate, .
Great -Power BI Intermediate Adelaide
David - Power BI Intermediate, .
Good trainer who made sure I understood everything and took the time to cover any queries I had. Very interactive which really helped my understanding. -Analysis & Dashboards Brisbane
Amy - Analysis & Dashboards, .
Thank you -Analysis & Dashboards Brisbane
LGC - Analysis & Dashboards, .
Excellent Trainer -Power BI Intermediate Canberra
Prakash - Power BI Intermediate, .
Thanks! -Power BI Intermediate Canberra
GP - Power BI Intermediate, .
Thanks. Good efficient course and engaging instructor! -Power BI Intermediate Canberra
Elise - Power BI Intermediate, .
Great knowledge of the trainer, who provided data insight and visualisation advice for various audience -Power BI Beginner Melbourne
Zoe - Power BI Beginner, .
Comprehensive and great for beginners -Power BI Beginner Melbourne
mlim - Power BI Beginner, .
clear teaching -Power BI Beginner Melbourne
Lay - Power BI Beginner, .
thanks John -Power BI Beginner Melbourne
dh - Power BI Beginner, .
John was great to work with. Really enjoyed his style and patience with us. Thanks John! -Power BI Beginner Melbourne
David - Power BI Beginner, .
Good pace and engagement. Answered questions well. Friendly and pleasant. -Power BI Beginner Melbourne
John - Power BI Beginner, .
A thorough overview of analysis and dashboards and the intrinsic possibilities -Analysis & Dashboards Melbourne
LUMART - Analysis & Dashboards, .
Tim was very clear and easy to understand and took the time to understand what we did for our jobs and tried to then give useful examples as to how we could use these tools in our work. -Analysis & Dashboards Melbourne
Nicola - Analysis & Dashboards, .
Very insightful session into Power BI, will definitely come back for another level so I could leverage the tool for the business -Power BI Beginner Melbourne
Tham - Power BI Beginner, .
Good course -Analysis & Dashboards Melbourne
Lauren - Analysis & Dashboards, .

Trusted by Business

Procured by Government

Map of Australia