I am trying to configure a flow from Microsoft Forms to Power BI. I have this working ok, but when I add branching questions in Forms, I start receiving errors.
To explain further:
I essentially have a microsoft form containing a question with 3 options, A, B and C. If the user selects A, the branching rules open all the subsequent A questions, then hides all the subsequent B and C questions. Simialrly if B or C is selected.
I have a mixture of seperate Text and Numerical answers, however the flow always fails when one of the subsequent B questions is set as a 'Number' response in Power BI's dataset (see image below) and also one of the subsequent C questions set as a 'Number' response.
(Note there are no 'Number' format questions in the subsequent A questions. I also have the Historical Data Analysis setting 'on' as I require allot of answers to be stored for review)
A sample error is shown below:
Hi @SimpoFlow ,
Could you please share more details about the question in the form?
Could you please share a screenshot of the configuration of your flow?
Could you please share a screenshot of the run history of the flow when it is run failed?
Please share more details so we would better understand the issue and pprovide a proper workaroud for you.
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Alice, yes no problem. Let me know if anything doesn't make sense.
The survey has been created in Microsoft Forms Pro to carry out some project reviews. There are a few standard questions, then depending on the answer to the below question, the survey branches of to other relevant questions. Thererfore if you answer Estimator, you then presented with different questions than if you had selected Project Manager.
The overall results will then be sent to Power BI via the Flow. I have created a Streaming Data Set in Power BI where I have to set what type of data each question will output (either Text, Number, Date). Historic data analysis has been truned on to keep all data collected.
The overall flow has been setup as per below. (I learnt this all from the youtube video - https://www.youtube.com/watch?v=O9Izx6f2734)
The full expression in the response id above is:
The problem occurs when the flow reaches the Site Team question (which is part of the Project Manager Branch) and this hasn't been filled in due to another branch being selected. For example if Estimator was selected in question number 4, you would not see this question to answer it. The flow seems to expect a numeric input and if it doesn't receive this it fails. However this is strange as if I change the streaming data set to = text on this question in Power BI, the flow has no problems (when also only filling in the Estimator questions).
Below is the error that appears when carrying out the survey answering Estimator, and therefore not filling in the Site Team question. (Note this question has not been set as 'Required' or mandatory to answer.)
Note I have also removed most of the proceeding questions in my Form/Flow/BI Data Set to try to simplify expalining this. There will be allot more questions containing numeric answers that need to be added. Therefore if you can suggest a way in flow to fix this so that text and numeric answers can co-exist on a branched form/flow/BI that would be great.
Check out the News & Announcements to learn more.
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.