Перейти к содержимому

5 Variable Types in Power Apps - With(), Context, Global, Environment, & Collections

Andrew Hess

0:00 / 0:00

5 Variable Types in Power Apps - With(), Context, Global, Environment, & Collections

1 912 просмотров · 1 год назад
Andrew Hess
17,8 тыс. подписчиков
1 912 просмотров · 1 год назад
Discover the power of variables in Power Apps! In this video, we'll explore the five types of variables—global, context, collections, With(), and environment variables—and their unique use cases. Learn how to optimize app performance and to choose which variable type is best for your application. Whether you're a beginner or looking to refine your skills, this guide will simplify complex concepts and elevate your Power Apps development. https://learn.microsoft.com/en-us/pow... With(): With( { basePrice: Slider1.Value, priceDiscount: Slider2.Value, itemQuantity: Slider3.Value, isBlue:varBlue }, {finalPrice: If(isBlue,(basePrice * (1 - (priceDiscount/100)) * itemQuantity),basePrice*itemQuantity)}.finalPrice ) Context Variable: UpdateContext({varColor:"Red"}); UpdateContext({varRed:true}); UpdateContext({varGreen:false}); UpdateContext({varBlue:false}); Global Variable: Set(varGlobal,"Happy Holidays!!!") Environment Variable: LookUp('Environment Variable Values','Schema Name' = "test_varYoutube",Value) Collection: Collect(varMyCollection,{basePrice:Slider1.Value,baseDiscount:Slider2.Value,quantity:Slider3.Value}) Chapters: 0:00 Introduction 0:45 Creating A Solution 2:50 With Variable 10:50 Context Variables 16:00 Passing a Context Variable 17:50 With And Context Variable Together 19:50 Global Variable 21:50 Environment Variable 26:50 Collections