Power Apps Variables - All 5 Types

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025
  • НаукаНаука

Комментарии • 52

  • @THEDTSMAN
    @THEDTSMAN 6 месяцев назад +7

    Shanes presentation style literally matches my brain activity. Perfect.

    • @ShanesCows
      @ShanesCows  6 месяцев назад +1

      Twinsies! 😎

    • @THEDTSMAN
      @THEDTSMAN 6 месяцев назад

      @@ShanesCows haha 😝

  • @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.

  • @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!

  • @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!

  • @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.

  • @misganawtadesse9513
    @misganawtadesse9513 2 месяца назад +1

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

    • @ShanesCows
      @ShanesCows  2 месяца назад

      Awesome, glad to help.

  • @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.

  • @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?

  • @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!

  • @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! 🤩

  • @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.

  • @RihabHamila
    @RihabHamila 6 месяцев назад +1

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

    • @ShanesCows
      @ShanesCows  6 месяцев назад +1

      Happy to help. 🤩 Have a great week!

  • @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 🤗

  • @rayromych5534
    @rayromych5534 6 месяцев назад +1

    Nice and simple explanation
    Thank you!

    • @ShanesCows
      @ShanesCows  6 месяцев назад

      Happy to help. Have a great week!

  • @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?

  • @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 ruclips.net/video/o-yL57DuUDE/видео.html

  • @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 😎

  • @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.

  • @oluwatobiyusuf
    @oluwatobiyusuf 2 месяца назад +1

    Thank you Shane

    • @ShanesCows
      @ShanesCows  2 месяца назад

      Have a good weekend!

  • @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 :)

  • @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