cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cypherxpro
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.650 students) : English | Português

View solution in original post

2 REPLIES 2
renatoromao
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.650 students) : 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.650 students) : English | Português

View solution in original post

Helpful resources

Announcements
V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,929)