Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
wilson_smyth
Post Patron
Post Patron

finding number of questions from office 365 form output

Once an O365 forms survey is complete, the output is exported in excel format.

Its in a pretty nasty format for analysis however, a single row per person who completed the form, and a column per question.

This becomes an issue when tying to identify the number of questions on the form based only on this output & when combining the output of multiple forms with different numbers of questions.

 

Im providing sample data based on a quiz. Two files are the output  of quizes done via O365 forms. Each quiz had a different number of questions.


The main questions i have are:

  • How do i calculate the number of questions per quiz with only this information?
  • Is it possible to pivot this so as to have a row per question per user, but get the users answer and if they scored a point all in the one row?

 

Link to dataset - 2 excel files:

https://1drv.ms/u/s!AgldA0VQfPV9hNpdHenhQ790Q6km7w?e=hU6A7e 

 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @wilson_smyth ,

 

You could unpivot your question columns like the following image:

1-1.PNG

Then these tables have the same columns and you could append them.

Use COUNT() or COUNTROWS() to get the question numbers of every ID.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @wilson_smyth ,

 

You could unpivot your question columns like the following image:

1-1.PNG

Then these tables have the same columns and you could append them.

Use COUNT() or COUNTROWS() to get the question numbers of every ID.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.