cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
oappdev
Post Prodigy
Post Prodigy

Get the Average between two values

Good morning, Power Apps Community,

 

What is the best scenario to get an average value between two values? Shooting a blank today. 

 

[Overall score] / [Weighted score] = Cumulative score %

 

CalculateValue.PNG

Thank you in advance.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
GeorgiosG
Solution Specialist
Solution Specialist

You can use the AVERAGE function, https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-aggregates

 

Average([Overall score],[Weighted score])

Happy to help.
If I have answered your question, please mark your post as Solved.

View solution in original post

GeorgiosG
Solution Specialist
Solution Specialist

Hi @oappdev , you can multiply this by 100 or use the Text Function

Text(Average(…),“0%“)

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text

 

Happy to help.
If I have answered your question, please mark your post as Solved.

View solution in original post

4 REPLIES 4
GeorgiosG
Solution Specialist
Solution Specialist

You can use the AVERAGE function, https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-aggregates

 

Average([Overall score],[Weighted score])

Happy to help.
If I have answered your question, please mark your post as Solved.

Thank you, @GeorgiosG I forgot about that function. How can I now display decimal numbers as a percentage?CalculateValue1.PNG 

GeorgiosG
Solution Specialist
Solution Specialist

Hi @oappdev , you can multiply this by 100 or use the Text Function

Text(Average(…),“0%“)

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text

 

Happy to help.
If I have answered your question, please mark your post as Solved.
oappdev
Post Prodigy
Post Prodigy

Thank you again for your help @GeorgiosG 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,146)