Skip to content

Commit a33bb9a

Browse files
authored
Merge pull request MicrosoftDocs#3177 from MicrosoftDocs/master
Pushing changes live
2 parents 3eaf69f + 16f6e4b commit a33bb9a

31 files changed

+785
-18
lines changed

powerapps-docs/guidance/TOC.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
items:
33
- name: Power Apps guidance documentation
44
href: index.yml
5+
- name: Power Apps patterns
6+
items:
7+
- name: Patterns overview
8+
href: patterns/overview.md
9+
- name: Calculation or Transformation pattern
10+
href: patterns/calculator-pattern.md
11+
- name: Communication or Announcement pattern
12+
href: patterns/communication-pattern.md
13+
- name: Inspection or Audit pattern
14+
href: patterns/inspection-pattern.md
15+
- name: More patterns
16+
href: patterns/more-patterns.md
517
- name: Planning a Power Apps project
618
items:
719
- name: Introduction

powerapps-docs/guidance/index.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,27 @@ metadata:
1313
ms.collection: collection
1414
author: KumarVivek
1515
ms.author: kvivek
16-
ms.date: 06/16/2020
16+
ms.date: 07/26/2020
1717

1818
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
1919

2020
landingContent:
2121

22+
23+
# Card
24+
- title: Power Apps patterns
25+
linkLists:
26+
- linkListType: concept
27+
links:
28+
- text: Overview
29+
url: patterns/overview.md
30+
- text: "Pattern: Calculation"
31+
url: patterns/calculator-pattern.md
32+
- text: "Pattern: Communication"
33+
url: patterns/communication-pattern.md
34+
- text: "Pattern: Inspection"
35+
url: patterns/inspection-pattern.md
36+
2237
# Card
2338
- title: Planning a Power Apps project
2439
linkLists:
@@ -41,30 +56,16 @@ landingContent:
4156
- title: Related content
4257
linkLists:
4358
- linkListType: overview
44-
links:
45-
- text: Create apps in Power Apps
46-
url: /powerapps/maker
47-
- text: What are canvas apps?
59+
links:
60+
- text: Create canvas apps?
4861
url: /powerapps/maker/canvas-apps/getting-started
49-
- text: What are model-driven apps?
62+
- text: Create model-driven apps?
5063
url: /powerapps/maker/model-driven-apps/model-driven-app-overview
5164
- text: Power Platform Center of Excellence (CoE) kit
5265
url: /power-platform/guidance/coe/starter-kit
5366
- text: Power Platform ALM guide
5467
url: /power-platform/alm/
5568

56-
57-
# Card
58-
- title: Other resources
59-
linkLists:
60-
- linkListType: concept
61-
links:
62-
- text: Power Apps licensing
63-
url: /power-platform/admin/powerapps-flow-licensing-faq
64-
- text: Power Apps US Government plans
65-
url: /power-platform/admin/powerapps-us-government
66-
- text: Power Apps Support
67-
url: https://powerapps.microsoft.com/support/
6869

6970

7071

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
---
2+
title: "Power Apps pattern: Calculation | Microsoft Docs"
3+
description: Learn how calculation apps make work easier and more accurate. For example, help someone select the right part, adjust equipment, or provide a price estimate.
4+
author: topness-msft
5+
ms.service: powerapps
6+
ms.topic: conceptual
7+
ms.custom: guidance
8+
ms.date: 07/20/2020
9+
ms.author: phtopnes
10+
ms.reviewer: kathyos
11+
12+
---
13+
14+
# Pattern: Calculation
15+
16+
![Collage of calculation app screenshots](media/calculation-collage.png "Collage of calculation app screenshots")
17+
18+
Power Apps makers use the calculation/transformation pattern to teach, to learn,
19+
and to make their work easier and more accurate. These apps might replace
20+
spreadsheets; apps are much easier to use and can provide outputs as charts or
21+
even audio.
22+
23+
These apps take user input and perform calculations that can, for example, help
24+
someone select the right part, adjust equipment, or provide a price estimate.
25+
They can also rely on external data for reference or calculation, or on a
26+
service, as in the case of a translation app that uses Azure Cognitive
27+
Services.
28+
29+
## How to recognize the calculation pattern
30+
31+
![Illustration of the calculation pattern with input, calculation, and output steps](media/calculation-illustration.png "Illustration of the calculation pattern with input, calculation, and output steps")
32+
33+
In a typical calculation scenario:
34+
35+
1. A user inputs data into the app.
36+
37+
1. The app returns a calculated result.
38+
39+
- The calculation might use a Power Apps formula or call out to an external
40+
function (for example, a text translation service).
41+
42+
- Calculations aren't always numeric. For instance, the result might be
43+
translated text or the transformation of a photo to a text description.
44+
45+
1. The results are used in real time by the user.
46+
47+
- In the most straightforward case, the user gets the result and does
48+
something with it. But this pattern also can be used to make games and
49+
other interactive effects, with the app logic making the next decision
50+
based on the calculated result.
51+
52+
- A calculator pattern can be used to create a wizard that takes the user
53+
through a decision tree to troubleshoot an issue.
54+
55+
The calculation pattern can be paired with other patterns. For example, a
56+
calculation can be used in the inspection/audit pattern and store the results of
57+
the calculation in the inspection report.
58+
59+
## How customers are using the calculation pattern
60+
61+
### Reliable Electric project cost estimation
62+
63+
[Read the whole story.](https://powerapps.microsoft.com/blog/reliable-electric-power-platform-customer-story/)
64+
65+
Reliable Electric creates complex bids for integrated electrical projects in
66+
high-end homes. These bids were created by using a legacy system that was limited
67+
to one user at a time and used a manual process based on Excel. Gone are the days of copying and pasting outputs into spreadsheets. The company has replaced
68+
this process with a single app built in Power Apps that manages the entire
69+
estimation process, a change that also reduces estimating-related manual workloads by half and dramatically lowers the potential for errors.
70+
71+
This app has been tailored for Reliable Electric's business
72+
process by defining groups of materials and labor that can be used to calculate estimates more
73+
quickly. By moving to this app, they've reduced their time
74+
for data entry by half and can create bids more easily now that the data is
75+
instantly available. With its related improvements to labor, accuracy, and purchasing incorporated, the app built in Power Apps has saved Reliable Electric between CAD80,000 and CAD100,000 annually, compared to the top purpose-built electrical estimating solutions on the market.
76+
77+
![Screenshot of the Reliable Electric project estimation app](media/reliable-electric-takeoffs.jpg "Screenshot of the Reliable Electric project estimation app")
78+
79+
### SNCF Manufacturing Configuration
80+
81+
[Read the whole story.](https://powerapps.microsoft.com/blog/sncf-power-platform-customer-success-story/)
82+
83+
[Watch a video.](https://youtu.be/WHtb7D1cVAI)
84+
85+
Workers on the factory floor use an app to evaluate the parts for repairing a
86+
train. The app identifies the most suitable parts and configures the
87+
installation. The app then validates the result and provides
88+
calculations to estimate the end result of installing the selected parts.
89+
90+
![Screenshot of SNCF Manufacturing Configuration](media/sncf-digibogies.png "Screenshot of SNCF Manufacturing Configuration")
91+
92+
### SNCF Translation Assistant
93+
94+
[Read the whole story.](https://powerapps.microsoft.com/blog/sncf-power-platform-customer-success-story/)
95+
96+
In the calculation/transformation pattern, the calculations don't have to be
97+
done by the app itself, and they don't have to be numeric. The SNCF Translation
98+
Assistant app helps employees across Europe interact more effectively by using
99+
the Microsoft Translator service, the device's microphone, and the Power Apps audio
100+
control to provide translations to common phrases, targeted by job role and
101+
task. This example illustrates the use of an external algorithm, Microsoft
102+
Translator, while the app itself still provides real-time results to the user.
103+
In this case, the calculation is a transformation of one language into another.
104+
105+
![Screenshot of SNCF Translation Assistant](media/sncf-translation-app.png "Screenshot of SNCF Translation Assistant")
106+
107+
### TransAlta Economic Callouts
108+
109+
[Read the whole story.](https://customers.microsoft.com/story/multi-national-energy-company-uses-powerapps-to-create-a-decision-validation-tool)
110+
111+
[Watch a video.](https://youtu.be/e_dCMN3NDsg?t=2439)
112+
113+
TransAlta is a multinational power generation and energy trading company.
114+
Using Power Apps, TransAlta built a decision-making tool called Economic
115+
Callouts to calculate the economic viability of sending an immediate response to
116+
wind turbine service calls outside of their core operating hours.
117+
118+
When users open the Economic Callouts app, they're prompted to fill out
119+
fields such as the time of day, site ___location, number of turbines, and fault
120+
code. The app then generates prescribed actions from TransAlta's real-time data
121+
feed indicating how the problem should be resolved, how long it will take, and
122+
the number of technicians required to safely bring the equipment back online.
123+
124+
The logic and decision-making behind the Power Apps solution goes much deeper
125+
than a simple "hours versus price" calculation to gain insight. Instead, Economic
126+
Callouts collects data via API (part of Azure App Service) through 11 different
127+
internal and external data sources to determine whether it's economically
128+
worthwhile to dispatch a wind technician. The data source includes labor costs,
129+
price forecasts, the average time it takes to repair an asset, and current
130+
market forecasts.
131+
132+
![Screenshot of TransAlta Economic Callouts](media/trans-alta-callouts.png "Screenshot of TransAlta Economic Callouts")
133+
134+
### Elementary school classroom lessons
135+
136+
[Read the whole story.](https://customers.microsoft.com/story/8bit-classrom-primary-secondary-education-powerapps)
137+
138+
[Watch a video.](https://www.youtube.com/watch?v=Y3YiR3ZOTDc)
139+
140+
Teacher Brian Dang of 8-bit Classroom created an app called Bits for students
141+
to practice spelling. The app evaluates the students' input in real time and
142+
provides results evaluating their spelling and scoring their work. Students can
143+
construct words by their individual sounds, record and blend words before trying
144+
to spell them out, and sort words according to detected patterns (for example,
145+
group all "-ity" or "-ing" words).
146+
147+
![Screenshot of 8-bit Classroom Bits](media/8bit-bits-app.png "Screenshot of 8-bit Classroom Bits")
148+
149+
Another application helps students understand how fractions are combined and
150+
multiplied, by performing real-time calculations to develop problem sets and to
151+
visually illustrate fractions and fraction multiplication.
152+
153+
![Screenshot of the 8-bit Classroom fractions app](media/8bit-fractions-app.png "Screenshot of the 8-bit Classroom fractions app")
154+
155+
### Additional examples
156+
157+
[Higher Education Crisis Financial Impact Tracker solution template](https://powerapps.microsoft.com/blog/tracking-financial-impact-for-higher-education-a-power-platform-template/)

0 commit comments

Comments
 (0)