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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,631)