Power Apps Variables - All 5 Types

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 52

  • @THEDTSMAN
    @THEDTSMAN 6 หลายเดือนก่อน +7

    Shanes presentation style literally matches my brain activity. Perfect.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      Twinsies! 😎

    • @THEDTSMAN
      @THEDTSMAN 6 หลายเดือนก่อน

      @@ShanesCows haha 😝

  • @dynamics3654
    @dynamics3654 6 หลายเดือนก่อน

    Hi Shane, on 16:38 you are adding a collection to the gallery. This no longer works in the latest version because this function will be retired. By default this feature is now disabled, you can still use it by enabling the retired feature. What would be the alternative here?

  • @Poryotis
    @Poryotis 6 หลายเดือนก่อน

    Thank you Shane! I have one more great use for Named Formulas. Now that Microsoft is requiring that you explicitly select the columns you want to use in an app, you can use a NF to save a record throughout your app. You set the NF with a Lookup function and the selected columns and the Lookup filter can be set with a global variable. Now you'll always have the record available with the selected columns everywhere in your app.

  • @Soulebi03
    @Soulebi03 4 หลายเดือนก่อน +1

    If I have too many variables or context variables will it afect the performance of the app? for example during onvisible and onhidden I do some stuff with all the variables

    • @ShanesCows
      @ShanesCows  4 หลายเดือนก่อน

      It depends. 🤣 Sorry, that is a tough answer but it does. How many variables are we talking? Does the app feel slow when you use it? Do you really need to update all of them all of the time? Could you make some of them Named Formulas instead?

  • @dougydoe
    @dougydoe 6 หลายเดือนก่อน +3

    Another excellent video and a good revision lesson for me. Amazing how you can still learn a thing or two about functions you may have used a number of times; Like chaining a number of variables within UpdateContext. Thanks for always taking time out to share. Appreciated.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      Glad you enjoyed it!

  • @deuts
    @deuts 6 หลายเดือนก่อน +1

    Can I use named formula to set a sharepoint connection, so that I can test my app in a test sharepoint list first, and then when I'm ready to carry it over to production sharepoint list, I'll just have to change 1 variable?

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      No, but you can do that with Solutions and Environment Variables th-cam.com/video/o-yL57DuUDE/w-d-xo.html

  • @at3941
    @at3941 6 หลายเดือนก่อน +1

    I was getting ready to look for this exact topic. I’m trying to get up the learning curve on Power Apps. I appreciate this a lot. Thanks

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      You're very welcome!

  • @leemorgan8007
    @leemorgan8007 6 หลายเดือนก่อน +1

    Really well articulated and provides clear guidance on the differing types of variables and where to use them. The 'With' example will be really useful for me.
    What would be beneficial is using slightly more complex scenarios/functions in the examples rather than just text - something that I can link to my work.
    Thanks Shane, awesome work.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      Thanks Lee. Yeah the challenge is when I do more complex scenarios then people get lost by them. Hopefully you can bridge the gap. 🤩

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      Though advanced variables could be a fun video game

    • @leemorgan8007
      @leemorgan8007 6 หลายเดือนก่อน

      @@ShanesCows That is very true - what you show certainly ticks the box for me. Keep it up, I use your channel a lot for references.

  • @clausdev85
    @clausdev85 6 หลายเดือนก่อน +1

    Hello Shane, I enjoyed your video. I have an important question:
    If I use Named Formulas for my SharePoint List ‘Rooms,’ which contains 6000 entries, will I encounter delegation issues?
    In other words, does Power Apps handle Named Formulas similarly to how it handles SharePoint Lists?
    Many Thanks in advance
    Code:
    Formulas:
    nfSharePointRooms=Rooms
    Galley:
    Filter(nfSharePointRooms;StartsWith(Name;"A"));

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      NF don’t change delegation rules. So yeah, you are going to have challenges.

  • @huynhleg
    @huynhleg 6 หลายเดือนก่อน +1

    Thank you for this fantastic video. The way you explained and gave examples was very easy to understand.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      You're very welcome!

  • @spontaneousorder5670
    @spontaneousorder5670 6 หลายเดือนก่อน +1

    Good stuff, Shane. I'm a .Net developer learning the power platform, and this is a solid video going over the variables and scopes.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      Awesome, thank you! I hope you enjoy your learning of Power Platform. I wish more pro devs would give it a chance. 🤩

    • @spontaneousorder5670
      @spontaneousorder5670 6 หลายเดือนก่อน

      @@ShanesCows Dataverse is the thing that has me hooked.

  • @mickyslim1000
    @mickyslim1000 6 หลายเดือนก่อน +1

    Hi Shane, thanks for the video! i had never used thw with function before in my apps, but i can really see how useful that will be gping forward.

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      Glad it was helpful! 🤩

  • @hiteshkumar797
    @hiteshkumar797 6 หลายเดือนก่อน +1

    Great shane 🎉🎉... I have a small request... Could you please make some videos on responsive apps.(Using containers inside containers etc..). Thanks in advance 🤗

  • @misganawtadesse9513
    @misganawtadesse9513 หลายเดือนก่อน +1

    I really need this, Thank You Mr.Shane 🙏🙏🙏🙏.

    • @ShanesCows
      @ShanesCows  หลายเดือนก่อน

      Awesome, glad to help.

  • @rayromych5534
    @rayromych5534 6 หลายเดือนก่อน +1

    Nice and simple explanation
    Thank you!

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      Happy to help. Have a great week!

  • @vincephillips5358
    @vincephillips5358 6 หลายเดือนก่อน +2

    Great work Shane, very clear explanations.
    I shared this with a junior of mine who was struggling to grasp the different concepts.....he finally gets it 😮.....after I have told him repeatedly for past few weeks. 😂
    You always seem to release content covering the right topics, at the right time.😊

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      🤩 That is awesome. Thanks, I always enjoy hearing impact stories like this.

  • @TheKermit2110
    @TheKermit2110 6 หลายเดือนก่อน +2

    Fantastic!!! But the frog wishes to take complete credit for all your hard work in this endeavor. After-all, i spent 3 seconds pushing the turtle's-head out, thinking of this on the bog (British low-class term for 'rest room') - all you had to do was take time out of your productive day providing us your years-long knowledge for absolutely no value in return - how selfish is that !!!! 🤣🤣😎😎😍. You-the-man Shaney, thanks so much!!!! Just realized something important on bridging Power Platform: The 'With' function in Power Apps is very typical of Power BI DAX functions when declaring variables. - maybe a topic?

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      I should have called out the frog. It was 100% your question that pushed me over the edge on doing this 😎

  • @rihabhamila4080
    @rihabhamila4080 6 หลายเดือนก่อน +1

    Always to the point. Priceless 💰💰💰💰💰💰. Thanks

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน +1

      Happy to help. 🤩 Have a great week!

  • @oluwatobiyusuf
    @oluwatobiyusuf 2 หลายเดือนก่อน +1

    Thank you Shane

    • @ShanesCows
      @ShanesCows  2 หลายเดือนก่อน

      Have a good weekend!

  • @YaserAlhosani
    @YaserAlhosani 6 หลายเดือนก่อน +1

    Also Navigate( Screen [, Transition [, UpdateContextRecord ] ] )

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      I have never used that technique and I find it super confusing so I don't teach it. 😁

    • @YaserAlhosani
      @YaserAlhosani 6 หลายเดือนก่อน

      ​@@ShanesCows This is actually quite simple! 😄
      You can navigate from Screen1 to Screen2 and pass a context variable like this:
      Screen1:
      OnSelect: Navigate(Screen2, ScreenTransition.None, {myVariable: "Hello, World!"})
      Screen2:
      Text: myVariable
      This will pass the value "Hello, World!" from Screen1 to Screen2 using the context variable myVariable.

  • @jdriele
    @jdriele 6 หลายเดือนก่อน

    In fact a named formula is able to ready a gallery and be updated like that. Gallery must be in the page, just a bad tricks btw ^^

  • @PowerFx1
    @PowerFx1 6 หลายเดือนก่อน +2

    "As" would have been a good addition it's almost like "with"

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      I agree. Where were you last week when I was planning 😛 Love me some As

    • @PowerFx1
      @PowerFx1 6 หลายเดือนก่อน

      If Buddy has the time maybe he can wipe out variables part 2

  • @martineikmeier
    @martineikmeier 6 หลายเดือนก่อน

    Great explanation again. Thanks

    • @ShanesCows
      @ShanesCows  6 หลายเดือนก่อน

      My pleasure! So much confusion with this topic, I tried to be complete. 😎

  • @apbosh1
    @apbosh1 4 หลายเดือนก่อน +1

    Thanks :)

    • @ShanesCows
      @ShanesCows  3 หลายเดือนก่อน

      No problem!