Quiz score via Flow?

%3CLINGO-SUB%20id%3D%22lingo-sub-80423%22%20slang%3D%22en-US%22%3EQuiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-80423%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20great%20that%20you%20can%20use%20Flow%20to%20get%20Forms%20info%20and%20run%20workflows%2C%20etc%2C%20but%20curiously%20I%20see%20that%20the%20score%20isn't%20available.%20Seems%20like%20a%20strange%20piece%20to%20leave%20off.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-80423%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EForms%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQuiz%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-565958%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-565958%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20looking%20for%20the%20same%20options%20with%20Flow%20%26amp%3B%20Forms(Quizzes)%20but%20unfortunately%20is%20seems%20there%20is%20no%20solution%20for%20the%20moment.%3C%2FP%3E%3CP%3EBut%20maybe%20voting%20for%20this%20ideea%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FFlow-Ideas%2FQuiz-Reading-quot-Total-Points-quot-Column-from-Response%2Fidi-p%2F93085%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EFlow%20Ideas%20Quiz%20-%20Reading%20%22Total%20Points%22%20Column%20from%20Response%26nbsp%3B%3C%2FA%3E%20will%20be%20in%20the%20future...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-129037%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-129037%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F406%22%20target%3D%22_blank%22%3E%40Clint%20Lechner%3C%2FA%3E%20wrote%3A%3CBR%20%2F%3E%3CP%3EIt's%20great%20that%20you%20can%20use%20Flow%20to%20get%20Forms%20info%20and%20run%20workflows%2C%20etc%2C%20but%20curiously%20I%20see%20that%20the%20score%20isn't%20available.%20Seems%20like%20a%20strange%20piece%20to%20leave%20off.%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3EThis%20has%20been%20bugging%20me%20for%20days.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20use%20the%20quiz%20for%20Call%20Quality%20monitoring%2C%20and%20the%20score%20is%20a%20key%20component.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVery%20irritating%20that%20there%20is%20no%20clear%20way%20to%20export%20the%20score%20to%20SharePoint.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-93368%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93368%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20looking%20to%20do%20the%20same%20thing%20for%20our%20HR%20dept.%20for%20Annual%20review%20training.%20%26nbsp%3BThe%20current%20solution%20using%20infopath%20is%20very%20clunky%20and%20could%20be%20replaced%20with%20Forms%20Quizes%2F%20Flow%20if%20we%20could%20determine%20pass%2F%20fail%20in%20the%20flow.%20%26nbsp%3BTotal%20Points%20is%20in%20the%20excel%20sheet%20so%20why%20not%20available%20in%20the%20flow%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-568703%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-568703%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F341895%22%20target%3D%22_blank%22%3E%40LucianC%3C%2FA%3E%26nbsp%3B%2C%20yes%2C%20unfortunately%20no%20direct%20solution.%20As%20workaround%20I%20collect%20answers%20by%20flow%20in%20Excel%20file%20published%20on%20SPO.%20From%20another%20Excel%20Power%20Query%20it%2C%20as%20well%20as%20table%20with%20answers%20and%20points%20in%20one%20more%20file%20plus%20some%20additional%20information%20from%20HR%20SQL%20database.%20This%20Excel%20with%20it's%20data%20model%20is%20published%20on%20Power%20BI%20services%20for%20scheduled%20updates.%20Using%20it%20one%20more%20flow%20sends%20reminders%20to%20people%20who%20didn't%20take%20the%20test%20in%20time%20and%20some%20summary%20is%20published%20in%20Teams%20as%20Power%20BI%20report.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBit%20complicated%2C%20but%20fully%20automatic.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-569306%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-569306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%2C%26nbsp%3Bthank%20you%20for%20your%20message%20and%20workaround%20tip.%20Until%20Microsoft%20will%20decide%20to%20shorten%20my%20path%20I%20think%20I%20will%20have%20to%20use%20your%20workaround.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20first%20part%20with%20getting%20the%20answers%20into%20an%20Excel%20file%20is%20done.%3C%2FP%3E%3CP%3EBut%20for%20the%20second%20part%20-%20using%20PowerQuery%20to%20match%20the%20responses%20with%20a%20%22CorrectAnswers%22%20table...%20is%20harder%20for%20me.%20Could%20you%20point%20me%20to%20a%20link%20or%20an%20example%3F%20I'm%20a%20%22basic%20user%22%20with%20PowerQuery%20and%20I%20don't%20imagine%20how%20could%20I%20calculate%20the%20total%20points%20for%20each%20answer.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-569365%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-569365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F341895%22%20target%3D%22_blank%22%3E%40LucianC%3C%2FA%3E%26nbsp%3B%2C%20I'll%20generate%20small%20sample%2C%20it'll%20be%20easy%20to%20explain.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-569625%22%20slang%3D%22en-US%22%3ERe%3A%20Quiz%20score%20via%20Flow%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-569625%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F341895%22%20target%3D%22_blank%22%3E%40LucianC%3C%2FA%3E%26nbsp%3B%2C%20let%20play%20with%20such%20sample%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20650px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F113372i3A1CA878C43ED12D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EQuiz%20table%20is%20what%20the%20flow%20updates.%20Answers%20is%20the%20supporting%20page%20with%20points.%20Final%20result%20is%20in%20green.%3C%2FP%3E%0A%3CP%3EIn%20my%20case%20each%20of%20above%20tables%20is%20in%20separate%20file%20-%20answers%20are%20separated%20for%20the%20security%20reason.%20Source%20file%20is%20separated%20to%20avoid%20any%20conflicts%20with%20flow%20since%20that%20file%20is%20practically%20never%20opened%20in%20opposite%20to%20file%20with%20results.%20Most%20probably%20it%20shall%20be%20no%20conflicts%20even%20they%20are%20in%20one%20file%2C%20but%20who%20know.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirst%20query%20supporting%20table%20and%20only%20one%20transformation%20is%20to%20add%20the%20key%20for%20Q%26amp%3BA.%3C%2FP%3E%0A%3CPRE%3Elet%0A%20%20%20%20Source%20%3D%20Excel.CurrentWorkbook()%7B%5BName%3D%22Points%22%5D%7D%5BContent%5D%2C%0A%20%20%20%20ProperType%20%3D%20Table.TransformColumnTypes(Source%2C%7B%0A%20%20%20%20%20%20%20%20%7B%22Question%22%2C%20type%20text%7D%2C%0A%20%20%20%20%20%20%20%20%7B%22Answer%22%2C%20type%20text%7D%2C%0A%20%20%20%20%20%20%20%20%7B%22Points%22%2C%20Int64.Type%7D%7D)%2C%0A%0A%20%20%20%20%2F%2F%20This%20is%20to%20generate%20unique%20key%20for%20the%20combination%20of%20Question%20%26amp%3B%20Answer%0A%20%20%20%20AddKey%20%3D%20Table.AddColumn(ProperType%2C%20%22QAKey%22%2C%20each%20%5BQuestion%5D%20%26amp%3B%20%22%3D%3D%3D%22%20%26amp%3B%20%5BAnswer%5D)%0Ain%0A%20%20%20%20AddKey%3C%2FPRE%3E%0A%3CP%3EQuery%20the%20quiz%20table%2C%20select%20all%20columns%20but%20questions%2C%20unpivot%20other%20columns%20and%20add%20the%20same%20key%20for%20each%20combination%20of%20Q%26amp%3BA.%20Merge%20on%20this%20key%20with%20Points%20query%20(into%20same%20or%20separate%20table)%20extracting%20only%20points.%20With%20that%20GroupBy%20on%20all%20columns%20except%20points%2C%20aggregate%20them%20by%20sum.%3C%2FP%3E%0A%3CPRE%3Elet%0A%20%20%20%20Source%20%3D%20Excel.CurrentWorkbook()%7B%5BName%3D%22Quiz%22%5D%7D%5BContent%5D%2C%0A%20%20%20%20ProperType%20%3D%20Table.TransformColumnTypes(Source%2C%7B%0A%20%20%20%20%20%20%20%20%7B%22Time%22%2C%20type%20datetime%7D%2C%0A%20%20%20%20%20%20%20%20%7B%22Name%22%2C%20type%20text%7D%2C%0A%20%20%20%20%20%20%20%20%7B%22email%22%2C%20type%20text%7D%2C%20%7B%22Q1%22%2C%20type%20text%7D%2C%0A%20%20%20%20%20%20%20%20%7B%22Q2%22%2C%20type%20text%7D%2C%20%7B%22Q3%22%2C%20type%20text%7D%7D)%2C%0A%0A%20%20%20%20UnpivotQuestions%20%3D%20Table.UnpivotOtherColumns(ProperType%2C%20%7B%22Time%22%2C%20%22Name%22%2C%20%22email%22%7D%2C%20%22Attribute%22%2C%20%22Value%22)%2C%0A%20%20%20%20AddKey%20%3D%20Table.AddColumn(UnpivotQuestions%2C%20%22QAkey%22%2C%20each%20%5BAttribute%5D%20%26amp%3B%20%22%3D%3D%3D%22%20%26amp%3B%20%5BValue%5D)%2C%0A%0A%20%20%20%20MergeWithAnswers%20%3D%20Table.NestedJoin(AddKey%2C%0A%20%20%20%20%20%20%20%20%7B%22QAkey%22%7D%2C%20Points%2C%0A%20%20%20%20%20%20%20%20%7B%22QAKey%22%7D%2C%20%22Points%22%2C%0A%20%20%20%20%20%20%20%20JoinKind.LeftOuter)%2C%0A%20%20%20%20GetPoints%20%3D%20Table.ExpandTableColumn(MergeWithAnswers%2C%20%22Points%22%2C%20%7B%22Points%22%7D%2C%20%7B%22Points.1%22%7D)%2C%0A%20%20%20%20RemoveUnuzed%20%3D%20Table.SelectColumns(GetPoints%2C%7B%22Time%22%2C%20%22Name%22%2C%20%22email%22%2C%20%22Points.1%22%7D)%2C%0A%0A%20%20%20%20%2F%2FUse%20Advanced%20option%20to%20GroupBy%0A%20%20%20%20SumPoints%20%3D%20Table.Group(RemoveUnuzed%2C%0A%20%20%20%20%20%20%20%20%7B%22Time%22%2C%20%22Name%22%2C%20%22email%22%7D%2C%0A%20%20%20%20%20%20%20%20%7B%7B%22Points%22%2C%20each%20List.Sum(%5BPoints.1%5D)%2C%20type%20number%7D%7D)%0Ain%0A%20%20%20%20SumPoints%3C%2FPRE%3E%0A%3CP%3EThat's%20all%2C%20the%20rest%20is%20cosmetic.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20more%20practical%20point.%20If%20you%20change%20wording%20of%20the%20question(s)%20in%20your%20form%2C%20or%20even%20name(s)%20of%20the%20column%20in%20Excel%20table%2C%20the%20flow%20doesn't%20care%2C%20it%20will%20add%20results%20correctly%20based%20on%20order%20of%20question%2Fcolumns.%20Text%20with%20answers%20will%20be%20returned%20by%20flow%20as%20it%20is.%20However%2C%20both%20could%20affect%20the%20key%20as%20it%20is%20generated%20in%20this%20sample.%20Correction%20of%20wording%20always%20could%20happen%2C%20even%20extra%20space%20crashes%20the%20key.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20variant%20you%20may%20play%20with%20texts%20(trim%2C%20lowercase%2C%20etc)%2C%20bt%20that's%20not%20very%20reliable.%20Better%20to%20work%20with%20indexes.%20For%20the%20questions%20they%20could%20be%20generated%20internally%20-%20sequential%20numbers%20in%20supporting%20table%20and%20pick-up%26nbsp%3B%20number%20of%20columns%20in%20quiz%20query.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20answers%20is%20more%20complex%2C%20we%20can't%20pick-up%20any%20ID%20for%20them.%20Thus%20we%20use%20in%20Forms%20numbering%20list%20of%20answers%2C%20like%3C%2FP%3E%0A%3CPRE%3EIs%20England%20part%20of%20EU%3F%0A%20%20a)%20Yes%0A%20%20b)%20No%3C%2FPRE%3E%0A%3CP%3Ewith%20that%20you%20extract%20only%20first%20character%20of%20each%20answer%2C%20doesn't%20matter%20which%20text%20will%20be%20after%20that%2C%20and%20work%20with%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20that's%20all%20improvements%20and%20more%20depends%20on%20your%20concrete%20data.%3C%2FP%3E%0A%3CP%3EYou%20may%20play%20with%20attached%20file%20to%20check%20how%20quires%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

It's great that you can use Flow to get Forms info and run workflows, etc, but curiously I see that the score isn't available. Seems like a strange piece to leave off.

13 Replies

I was looking to do the same thing for our HR dept. for Annual review training.  The current solution using infopath is very clunky and could be replaced with Forms Quizes/ Flow if we could determine pass/ fail in the flow.  Total Points is in the excel sheet so why not available in the flow? 


@Clint Lechner wrote:

It's great that you can use Flow to get Forms info and run workflows, etc, but curiously I see that the score isn't available. Seems like a strange piece to leave off.



This has been bugging me for days.

 

I'm trying to use the quiz for Call Quality monitoring, and the score is a key component.

 

Very irritating that there is no clear way to export the score to SharePoint.

I'm looking for the same options with Flow & Forms(Quizzes) but unfortunately is seems there is no solution for the moment.

But maybe voting for this ideea:  Flow Ideas Quiz - Reading "Total Points" Column from Response  will be in the future...

@LucianC , yes, unfortunately no direct solution. As workaround I collect answers by flow in Excel file published on SPO. From another Excel Power Query it, as well as table with answers and points in one more file plus some additional information from HR SQL database. This Excel with it's data model is published on Power BI services for scheduled updates. Using it one more flow sends reminders to people who didn't take the test in time and some summary is published in Teams as Power BI report.

 

Bit complicated, but fully automatic.

@Sergei Baklan, thank you for your message and workaround tip. Until Microsoft will decide to shorten my path I think I will have to use your workaround. :)

 

The first part with getting the answers into an Excel file is done.

But for the second part - using PowerQuery to match the responses with a "CorrectAnswers" table... is harder for me. Could you point me to a link or an example? I'm a "basic user" with PowerQuery and I don't imagine how could I calculate the total points for each answer.

@LucianC , I'll generate small sample, it'll be easy to explain.

@LucianC , let play with such sample

image.png

Quiz table is what the flow updates. Answers is the supporting page with points. Final result is in green.

In my case each of above tables is in separate file - answers are separated for the security reason. Source file is separated to avoid any conflicts with flow since that file is practically never opened in opposite to file with results. Most probably it shall be no conflicts even they are in one file, but who know.

 

First query supporting table and only one transformation is to add the key for Q&A.

let
    Source = Excel.CurrentWorkbook(){[Name="Points"]}[Content],
    ProperType = Table.TransformColumnTypes(Source,{
        {"Question", type text},
        {"Answer", type text},
        {"Points", Int64.Type}}),

    // This is to generate unique key for the combination of Question & Answer
    AddKey = Table.AddColumn(ProperType, "QAKey", each [Question] & "===" & [Answer])
in
    AddKey

Query the quiz table, select all columns but questions, unpivot other columns and add the same key for each combination of Q&A. Merge on this key with Points query (into same or separate table) extracting only points. With that GroupBy on all columns except points, aggregate them by sum.

let
    Source = Excel.CurrentWorkbook(){[Name="Quiz"]}[Content],
    ProperType = Table.TransformColumnTypes(Source,{
        {"Time", type datetime},
        {"Name", type text},
        {"email", type text}, {"Q1", type text},
        {"Q2", type text}, {"Q3", type text}}),

    UnpivotQuestions = Table.UnpivotOtherColumns(ProperType, {"Time", "Name", "email"}, "Attribute", "Value"),
    AddKey = Table.AddColumn(UnpivotQuestions, "QAkey", each [Attribute] & "===" & [Value]),

    MergeWithAnswers = Table.NestedJoin(AddKey,
        {"QAkey"}, Points,
        {"QAKey"}, "Points",
        JoinKind.LeftOuter),
    GetPoints = Table.ExpandTableColumn(MergeWithAnswers, "Points", {"Points"}, {"Points.1"}),
    RemoveUnuzed = Table.SelectColumns(GetPoints,{"Time", "Name", "email", "Points.1"}),

    //Use Advanced option to GroupBy
    SumPoints = Table.Group(RemoveUnuzed,
        {"Time", "Name", "email"},
        {{"Points", each List.Sum([Points.1]), type number}})
in
    SumPoints

That's all, the rest is cosmetic.

 

One more practical point. If you change wording of the question(s) in your form, or even name(s) of the column in Excel table, the flow doesn't care, it will add results correctly based on order of question/columns. Text with answers will be returned by flow as it is. However, both could affect the key as it is generated in this sample. Correction of wording always could happen, even extra space crashes the key.

 

As variant you may play with texts (trim, lowercase, etc), bt that's not very reliable. Better to work with indexes. For the questions they could be generated internally - sequential numbers in supporting table and pick-up  number of columns in quiz query.

 

With answers is more complex, we can't pick-up any ID for them. Thus we use in Forms numbering list of answers, like

Is England part of EU?
  a) Yes
  b) No

with that you extract only first character of each answer, doesn't matter which text will be after that, and work with it.

 

But that's all improvements and more depends on your concrete data.

You may play with attached file to check how quires work.

@Sergei BaklanTHANK YOU SOOOOOO MUCH!!! I'm sorry I could not award you 100 likes :)

Super clear example to follow. I will certainly use it, even if will take some time for me ;)

@LucianC , you are welcome. Idea is simple, but the devil is in the detail, to sort them out is most time consuming part.

@LucianC , I added to the sample renaming questions columns by their IDs since that is required some coding. Steps are

<prev step>
    QuestionIDs = {"1"..Number.ToText(List.Count(Table.ColumnNames(ProperType))-nLastBeforeQuestionsPosition)},
    QuestionsRenameList = List.Zip(
        {List.RemoveFirstN(Table.ColumnNames(ProperType),
        nLastBeforeQuestionsPosition),QuestionIDs}),
    QuestionsToIDs = Table.RenameColumns(ProperType,QuestionsRenameList),
<next step>

IDs for questions also added to Answers table. Please note IDs shall be used as text.

@Sergei Baklan, thank you again for your detailed explanations, and for what I discovered until now from your sample I could mention two important advantages:

  1. Using your approach with an "answers" table I can see that:
    1.  I could award points based on the answer "weight" - this could not be done with Microsoft Forms - Quiz type
    2.  In this case is no longer necessary to use the Quiz Type so I could use a Form Type
  2.  Now because I no longer need a Quiz type form, using a simple Form have another advantages:
    1.  I no longer need Flow to put the answers into an Excel file because for this kind of form an Excel file will be created automatically on the corresponding SharePoint Site
    2.  So PowerQuery will have access directly to online Excel file.

Isn't that great? :)

@LucianC , yes, that's a great idea. Work with surveys linked to Excel is much easier than with quiz. Why we use it that's since user see the points right after submitting the form. They may, even shall, to repeat attempts (not necessary in the same session) till hit the bar collecting required number of points. That's kind of introduction training.

 

In general to show the summary you may use the same connected to the form Excel, put it into another sheet of the same file. I more trust to "co-authoring" with Sharepoint app  which updates the file rather than to the flow.

 

@Sergei Baklan - Thank you, this is so helpful and I was able to set it up! I am new to queries and am going one step further. I have multiple quizzes that will be dumping answers into a single Excel tab with the quiz name on it. Is there any way to direct the quiz answers added by flow into the correct answers table based on the quiz name or do I have to create a separate tab for each quiz flow? I attached a sample of what I'm trying to do.