cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

How to provide calculated answer from given input from user?

So I was making a bot where User gives Two inputs in two different variable that's - 

1. weight of person

2. height

 

In the next message i want to send the user a his/her BMI from the two input data and weight he/she need to reach healthy BMI and If BMI is in healthy range - Provide message that you BMI Xyz is under normal range 

 

  • Underweight: BMI is less than 18.5.
  • Normal weight: BMI is 18.5 to 24.9.
  • Overweight: BMI is 25 to 29.9.
  • Obese: BMI is 30 or more.

I am still learning and pls give some little guidance how can i achieve this 

 

Thanks for you Replies!!

1 ACCEPTED SOLUTION

Accepted Solutions

@cypherxpro ,

 

I have a sample called Health bot: https://powerusers.microsoft.com/t5/Bot-Sharing-Gallery/Health-bot-Calculate-your-BMI-metrics/m-p/67...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.250 students | PROMOTIONS) : English | Português

View solution in original post

2 REPLIES 2
Super User
Super User

Hi @cypherxpro ,

 

You need to use the Power Automate to calculate it.

You can get the variables with the user and call an action to calculate.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.250 students | PROMOTIONS) : English | Português

@cypherxpro ,

 

I have a sample called Health bot: https://powerusers.microsoft.com/t5/Bot-Sharing-Gallery/Health-bot-Calculate-your-BMI-metrics/m-p/67...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.250 students | PROMOTIONS) : English | Português

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Check out Tomasz Poszytek's session from the 2020 Power Platform Community Conference!

PVA Commnity Blog

NEW Power Virtual Agents Community Blog

View articles posted by fellow community members on the Power Virtual Agents Community Blog!

Top Solution Authors
Top Kudoed Authors
Users online (9,982)