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 / AI Builder (Prediction...
Power Apps
Answered

AI Builder (Prediction Model) - PredictionOutput is shown as number instead of text in Power Automate

(0) ShareShare
ReportReport
Posted on by 8

Hi Team, 

 

Created a Model using Prediction Template for predicting risk response(Avoid, Mitigate, Accept) . When consuming this model in PowerAutomate, the Prediction Output is resulting as number instead of Text Value.

 

How do i convert the Prediction output to Text or the respective outcome choice value? 

 

Prediction.PNG

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @PPMAI ,

     

    Could you tell me:

    Do you want to extract the predicted value "134910000"?

     

    If my assumption is correct, you only need to set a variable.

    1\ 

    v-xiaochen-msft_0-1613977624203.png

    v-xiaochen-msft_1-1613977688785.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

  • PPMAI Profile Picture
    8 on at

    Hi Wearsky, 

     

    am predicting an outcome of a choice field, i supposed the model will also give a value from one of the choice option as predicted output. 

    Capture.PNG

     

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

    Hi @PPMAI ,

     

    Sorry i am confused about your question.

    Could you describe the problem you encountered in detail?

     

    Best Regards,
    Wearsky

  • Norah Profile Picture
    Microsoft Employee on at

    HI @PPMAI 

     

    Based on your screenshot, you're creating a classification model so yes you should see a choice value as prediction output. 

     

    Do you mind sharing your environment URL and model ID with us so we can do some investigation? Environment URL can be found in admin center. Model ID can be found in the model page URL. You need to click into the model details page (AI Builder -> Models -> Click your model). The URL will look like this "https://make.powerapps.com/environment/.../aibuilder/models/<your_model_guid_goes_here>" 

     

     

    Thanks

    Norah

  • Verified answer
    Norah Profile Picture
    Microsoft Employee on at

    hi @PPMAI 

     

    Please ignore my previous message. I learned that you cannot directly get choice item's display name in PowerAutomate, you will always get a choice item value. 

     

    This post gives you information about how to extract the value.  https://powerusers.microsoft.com/t5/Building-Flows/How-to-retrieve-an-option-set-label/td-p/547354

     

    And if you want to display text, you can either output value to the same CDS table, which will then translate the value to text in CDS, or you can find value for each of the choice items, and do a switch operation to return matched text.

     

    Norah

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard