Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn Microsoft Power Apps - Second Edition

You're reading from  Learn Microsoft Power Apps - Second Edition

Product type Book
Published in Sep 2023
Publisher Packt
ISBN-13 9781801070645
Pages 702 pages
Edition 2nd Edition
Languages
Authors (2):
Matthew Weston Matthew Weston
Profile icon Matthew Weston
Elisa Bárcena Martín Elisa Bárcena Martín
Profile icon Elisa Bárcena Martín
View More author details

Table of Contents (27) Chapters

Preface 1. Introducing Power Apps 2. Creating Your First Canvas Power App 3. Creating Apps in SharePoint 4. Publishing and Leveraging in Power Apps 5. Exploring Controls 6. Exploring Formulas 7. Exploring Reusable Controls 8. Working with Data 9. Introducing Connectors 10. Using GPS in Power Apps 11. Working with Images and Barcodes 12. Securing Your Power Apps 13. Working Offline 14. Using Power Automate with Power Apps 15. Using Azure with Power Apps 16. Visualizing Data 17. Introducing Artificial Intelligence 18. Introducing Microsoft Dataverse 19. Introducing Model-Driven Apps 20. Creating Model-Driven Apps 21. Exploring Environments and Data Policies 22. Introducing the Future of Power Apps 23. Good Practices for Creating Power Apps 24. Other Books You May Enjoy
25. Index
Appendix

Using conditions

Conditions are ways of carrying out a calculation to provide a true or false outcome. They are used to provide branches in logic, so if one condition is met, then action A will ensue. If not, then something else will happen.

If

The most common and useful condition is the If function, which takes in three arguments:

  • The test
  • What to do if the test returns true
  • What to do if the test returns false

In the following example, you will see that we can also combine the outputs of other functions into our condition to return a different output:

If(Text(Today(),"dddd") = "Saturday","Weekend :)","Weekday :(")
Figure 6.17: An example of an If function being used to change the output of a label

There will be occasions where your condition will depend on multiple inputs being compared to provide the evaluation. Multiple conditions will always be either AND or OR in nature and can be defined using this syntax:

  • AND / &&
  • OR / |...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $19.99/month. Cancel anytime}