web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Color signalization in...
Power Apps
Unanswered

Color signalization in Storage App

(0) ShareShare
ReportReport
Posted on by 45
Greetings,
 
Me and a colleague from work are creating a Storage App using PowerApps for our company, we currently have a list with all the products from the storage, and we have a column that calculates when a product reaches the minimum quantity. We want to know if it is possible to have a signalization with colors, so it´s easier to know which product is reaching its minimum quantity. We are thinking of showing a yellow signalization when a product reaches a certain quantity just a bit above the minimum and a red signalization when the product actually reaches it´s minimum quantity. And when the quantity is way above the minimum then it would be a green signalization. 
Is it possible to do that, and if so, what is the best way we can do it?
 
Thanks in advance.
Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    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)

    rubin_boer_0-1612551500182.png

    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

     

     
     
  • Joao3 Profile Picture
    45 on at

    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.

     

    Joao3_0-1612976268577.png

    Café = Coffe.

    Área = Area

    Produto necessário para compra = Product required for purchase.

    Estoque = Stock.

     

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    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

     
  • Joao3 Profile Picture
    45 on at

    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

     

    Joao3_0-1613409267814.png

     

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard