web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Data classification in...
Power Apps
Answered

Data classification in Powerapps or Powerautomate

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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!

Categories:
I have the same question (0)
  • mahoneypat Profile Picture
    1,720 on at

    Have you considered Forms and Power BI instead?  Might be a better fit for this use case.

    Regards,

    Pat

  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    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).

    v-albai-msft_0-1617088496039.png

     

    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")

    v-albai-msft_1-1617088496044.png

     

    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"));

    v-albai-msft_2-1617088496048.png

    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

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @mahoneypat 

    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.


  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard