Hi all,
I have build a Powerapp where the user can answer some question. Data type is choices/bool.
The goal is to classify those data with a result (low, medium, high). E.g. if 5 out of 10 questions are answered with yes it is classifyed as high.
I know how to do this in Powerautomate but is this also possible in Powerapps? Advantage would be, that the user would see direct the impact of his choosen answers.
Is this possible and useful and if so, how could that implemented or should I stick to Powerautomate?
Any thoughts are welcome!
Solved! Go to Solution.
Haven´t done anything with Power Bi so far and guessing it´s to much effort learn it right now but thanks anyway!
@v-albai-msft
Thanks a lot for your detailed answer. I appreciate it!!
I´ve acutally figured another solution out of my own.
I used the oncheck/uncheck property within the answers bools to count a variable and then show or hide lables if they are in a particular range.
But I will check your solution to see if MS Form fits better to my other requirements.
Have you considered Forms and Power BI instead? Might be a better fit for this use case.
Regards,
Pat
To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.
Hi @YoYo1982 ,
Do you want to create a questionnaire inside PowerApps like using MS Form?
If yes, you can do it.
I did a simple test on my side for your reference. Assume that:
1. The entered answers will be saved into a SP list by clicking a submit button.
2. User can see his result after submit his answers
So I create an app with 10 dropdown controls(With Yes/No choice).
Then add a button, rename it to “Submit”. Set its OnSelect to formula like below(save these 10 answers into a one-column collection):
Patch(listname,Defaults(listname),{Question1:Dropdown1.Selected.Value,.....});
ClearCollect(Result1,{Value:Dropdown1.Selected.Value},{Value:Dropdown1_1.Selected.Value},{Value:Dropdown1_2.Selected.Value},{Value:Dropdown1_3.Selected.Value},
{Value:Dropdown1_4.Selected.Value},{Value:Dropdown1_5.Selected.Value},{Value:Dropdown1_6.Selected.Value},{Value:Dropdown1_7.Selected.Value},
{Value:Dropdown1_8.Selected.Value},{Value:Dropdown1_9.Selected.Value});
Set(varY,CountRows(Filter(Result1,Value="Yes")));
For displaying the result, I add a label under the button and set its to below. So, If answers with yes equals/more than 5, it will display as “High”:
If(varY>=5,"High",varY<5&&varY>=1,"medium",varY=0,"low")
Besides, you can also add below formula into the button, so after you submit your answers, you will receive a prompt message:
Notify("Your answers has a result with: "& If(varY>=5,"High",varY<5&&varY>=1,"medium",varY=0,"low"));
For more about Notify function, you can refer to this article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-showerror
Best regards,
Allen
Haven´t done anything with Power Bi so far and guessing it´s to much effort learn it right now but thanks anyway!
@v-albai-msft
Thanks a lot for your detailed answer. I appreciate it!!
I´ve acutally figured another solution out of my own.
I used the oncheck/uncheck property within the answers bools to count a variable and then show or hide lables if they are in a particular range.
But I will check your solution to see if MS Form fits better to my other requirements.
Hi @YoYo1982 ,
Yes, this can be achieved by many solutions.
Glad that you have found a solution. You can mark your reply as an solution, this will benefit other community members who stuck with the same question.
Best regards,
Allen
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
203 | |
106 | |
56 | |
52 | |
41 |
User | Count |
---|---|
273 | |
160 | |
89 | |
81 | |
56 |