Announcements
hi there @Joao3
sure you can use switch for this (here it is the fill property of the label control.)
Switch(true, Value(Self.Text) >5 && Value(Self.Text) < 10, Yellow, Value(Self.Text) <= 5, Red,White)
if the value is between 5 and 10, 5 being your minimum you will get yellow, and equal or below your minimum it will be red.
Have fun
Rubin, how are you?
So, your point was good, but we can't get this visualization inside PowerApps, I will send you a picture, and show you where this part of the colors would be.So where do I enter this code so that it returns these colors, can you make an example for me to understand better? With the values as you show in your image.
Remember that the products are registered as SharePoint lists.
Any questions we are at your disposal.
Café = Coffe.
Área = Area
Produto necessário para compra = Product required for purchase.
Estoque = Stock.
hi @Joao3 , the label which reflects the stock levels i assume is the Estoque. So if Estoque is for e.g. 9 its yellow and 4 red then the label fill property will have the formula as given.
please give it a try
Hello Rubin, how are you?
I am applying this method that you told me, but man I am having difficulties.I am a "beginner" in power platform, could you please help me in how to do this part?
The piece of code that is being marked by the arrow, is just a Filter by department, I wanted to be able to include it in this code that you
Thank you in advance
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 1,045
Valantis 675
11manish 592