Make Dynamic Updates with Power Apps Do Until Loops

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

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

  • @robbolles4742
    @robbolles4742 ปีที่แล้ว +5

    Love it, Shane. A few months ago, I had a need for this and built pretty much exactly what you did here. I would definitely enjoy more advanced content like this. Thank you for another great video.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Appreciate the support Rob.

  • @wadugods
    @wadugods 15 วันที่ผ่านมา +1

    Awesome Shane. Clear example and I was able to replicate it and apply it to an idea I had similar to the RAM inventory example !

    • @ShanesCows
      @ShanesCows  13 วันที่ผ่านมา

      Awesome, glad you found a practical way to apply it!

  • @Suntinel
    @Suntinel ปีที่แล้ว +1

    Thank you very much, dear Shane. Without your help, I wouldn't have been so successful in my job. Best regards from the Czech Republic (Central Europe).

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Hapy to help! Have a good week.

  • @ramitkishoresaha9437
    @ramitkishoresaha9437 ปีที่แล้ว +2

    This is nerdy and I love it. You're a great teacher Shane!

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Thank you 😎 I like being a 🤓

  • @devinprejean
    @devinprejean ปีที่แล้ว +2

    Very valuable information. Was struggling recently with how to show a loading screen while rows were refreshing from filters. This will allow me to check the counts and then some to determine it's done! Thanks Shane.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Happy to help Devin!

  • @cmacdhon
    @cmacdhon ปีที่แล้ว +1

    Thanks Shane. Another awesome video! Just the right amount of nerdy. I'm all for videos on the more complex functionality. Gotta keep adding stuff to my toolbox!

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Thanks for the feedback. 🙂

  • @JemicoTX
    @JemicoTX ปีที่แล้ว +3

    I use Sequence() for such needs. In cases where a parameter of loops is defined, Sequence() can be set to the input parameter (such as the txt input box for quantity).
    ClearCollect(
    colLoopCount,
    {Loop: 0}
    );
    ForAll(
    Sequence(txtQty.Text) As LoopNo,
    // *** Insert Actions Here *** //
    Collect(
    colTally,
    {Loop: LoopNo.Value}
    )
    )

    • @JemicoTX
      @JemicoTX ปีที่แล้ว +1

      The Collect() is added in the event you want or need to examine the value of the item either being worked in the loop or the last item worked. Last(colLoopCount).Loop

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      Yup, I have done some crazy stuff similarly. I have done some bad stuff with ForAll I would never show on video. 😎 The timer is less confusing to the average bear. 😎

  • @MrGaztab
    @MrGaztab ปีที่แล้ว +1

    This was a great video. Thank you. And I like the more complex videos for sure.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Appreciate the feedback!

  • @siddharthsingh7341
    @siddharthsingh7341 ปีที่แล้ว +1

    Great!! Learned something that I never thought possible in Power Apps. Thanks Teacher 👍

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

    Insane Shane!! Now able to create repeat bookings for for . In the words of Shane Young, "Yay!!!!!!" :D

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

      Love it! 🚀

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

    I've used this technique to sort gallery items based on a dynamically created list of columns. I did that by calling SortByColumns function on a record collection multiple times, each time ClearCollect'ing the collection in a temporary variable, and at the end assigning the collection to the variable which has been set as an Items property of the gallery.

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

      Thanks for sharing!

  • @gagbru
    @gagbru ปีที่แล้ว +1

    Like always, GREAT video and explanations

  • @kaushar.
    @kaushar. 11 หลายเดือนก่อน +1

    @Shane thank you. You are a life saver.

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

      Happy to help

  • @THEDTSMAN
    @THEDTSMAN ปีที่แล้ว +1

    Stock inventory is very interesting to me so these types of scenarios are good to learn about.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      Agree. We have done this for customers before. 😎

  • @oluwatobipaul6171
    @oluwatobipaul6171 ปีที่แล้ว +1

    Thank you Shane.

  • @MayetEt
    @MayetEt ปีที่แล้ว +1

    You are amazing and Thank you so much

  • @jeroentournier
    @jeroentournier ปีที่แล้ว +1

    Nice! Nerdy is cool 🙂

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

    Hi Shane, this video is really helpful, I just have a question that how to change the collections name dynamically inside a Do-until Loop.

  • @paolovr1970
    @paolovr1970 ปีที่แล้ว +1

    Thanks Shane 🙏🙏🙏

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Happy to help. Have a great day. 🐶

  • @alanmcconachie
    @alanmcconachie ปีที่แล้ว +1

    I was looking for a Do loop solution a while ago and think i ended up doing something nasty with a custom collection and a ForAll. Might be a fun project to go back and look at that again with this new knowledge and be embarrassed at my previous attempt.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Alan working is better than not working. If you got it working the crazy way then I love it! 😎

  • @spen2431
    @spen2431 ปีที่แล้ว +1

    🤯🤯 - Thanks Shane

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Happy to help Spen, so much to learn. 🤪

  • @csgexec
    @csgexec ปีที่แล้ว +1

    Good job. Has the timer control been updated to continue counting when the user moves to another screen or app? I rarely use the timer control because of this limitation.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      I don't think but honestly I haven't tried that scenario in a long time.

  • @felixverduin569
    @felixverduin569 ปีที่แล้ว +1

    Great stuff Shane! I used a different method but this looks pretty easy as well actually. Any idea why there isnt a built in Do until loop in Powerapps anyway?

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      Not sure Felix. Maybe too complicated of a concept for the average maker?

    • @felixverduin569
      @felixverduin569 ปีที่แล้ว

      @Shane Young yes maybe you're right. Then again, we're actually using the platform to build enterprise applications and it would be nice to have the function. Anyhow, we'll figure it out🫣

  • @dominicgraytechnology
    @dominicgraytechnology ปีที่แล้ว +1

    They need a loop STAT! This is BASIC BASIC BASIC

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      It is an interesting omission.

  • @jeremieduplessis-savard9557
    @jeremieduplessis-savard9557 ปีที่แล้ว +1

    It’s not too much love the advance stuff

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      Thanks for the feedback.

  • @araviund601
    @araviund601 ปีที่แล้ว +1

    Hello sir, I have a windows 11 laptop. That is workgroup system right now i need to connect windows AD using powershell or cmd to create and manage users. How to do it ? I am using different domian.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      I am not sure, sorry.

  • @hindireaction8585
    @hindireaction8585 ปีที่แล้ว

    Hi every one I have question that I have total 12 combobox in power app and I want to show the total combobox selected in label. Like I have selected only 5 combobox so on label it will show 5 if i select 6 then it will show 6

  • @FernandoGabrielRodriguez-mm8hl
    @FernandoGabrielRodriguez-mm8hl ปีที่แล้ว +1

    Do you have a tutorial to make an app that will create a teams meeting and allow an X number of people to join and if its full create a new one on a new date?

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว

      This video shows how to create a Teams meeting th-cam.com/video/hPRzHbMzoI0/w-d-xo.html but I don't know how to know when it is full. Sorry.

    • @n2datasolutions443
      @n2datasolutions443 ปีที่แล้ว

      You could do try to somehow get a count of attendees, wrap it in an if statement and carry out another action if full. Might even be worth investigating if you can make a power automate branch

  • @geralddahl9159
    @geralddahl9159 ปีที่แล้ว +1

    This video uses ‘do until’ in Flow to fix an error state. Is it possible to use Power Automate ‘do until’ for the remaining inventory case usage you have presented? (FYI - I still have 9 mins left to watch of your video in case you mention that at the end.) Happy Spring! Thx for your resources! th-cam.com/video/wT61iTovrqY/w-d-xo.html

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      I didn't talk about Power Automate but yes, you can. 😎 My only dislike of using Automate is then you have more moving parts to break/troubleshoot. But can it? Yes. Might it be easier? Yes. So wherever you get the results you want I am all for doing it there. 😎

    • @geralddahl9159
      @geralddahl9159 ปีที่แล้ว +1

      @Shane Young thank you. Not sure if you care but I hope Cincy's NFL picks brighten the future - have fun w soccer too.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      @@geralddahl9159 Appreciate that. I am hopeful too. I don't want to play anymore AFC Championship games in Kansas City. 😎😎

  • @MerkDolf
    @MerkDolf ปีที่แล้ว +1

    Thank you, thing is you don't know you need to know how to do something until you need to do it.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      Exactly agree. That is why I was scared to make this video, no one would watch it because they didn't know. 😎

  • @iamintractable1805
    @iamintractable1805 ปีที่แล้ว +1

    I don't think you know the definition of low code.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +10

      I do. But the reality is as people do low code they want to grow and do more and more with low code. This is helping people who want to do more. This is still low code, just taking it further. Learning is fun.

  • @angrybatvoice
    @angrybatvoice ปีที่แล้ว +1

    Nicely done... I'll also be placing Shuffle() in my toolkit. Hadn't noticed that one before.

    • @ShanesCows
      @ShanesCows  ปีที่แล้ว +1

      If you haven't watched this video th-cam.com/video/NepvIvoaf9U/w-d-xo.html then you are missing out on all types of random number fun. 🤪