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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using circle colour to...
Power Apps
Unanswered

Using circle colour to indicate whether something is submitted or not

(1) ShareShare
ReportReport
Posted on by 34

Hi,

I have a SharePoint list that stores forms that have been submitted, each form submission is linked to an ID that is Autogenerated in one of the other lists. There are 4 types of form, these forms are put into a gallery that is going to be filtered by the admission selected and if 1 or more of the forms aren't submitted I want to use the colour of the circles in the virticle gallery to indicated that (Green for submitted and Red for not submitted) and for teh colour to be updated once the form is submitted I was wondering if there was a way to do this I have tried using an IF statement but it doesn't work because I was unsure how to format it. 

 

 

Categories:
I have the same question (0)
  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    Check this example:

     

    In a blank Canvas App:

     

    1) Place a Text input field 

     

    2) Place an Icon (Circle Icon in this example)

     

    On the Fill Attribute of the Icon, place this Formula:

     

    If(TextInput1.Text = "1",Red, If(TextInput1.Text = "2",Green, If(TextInput1.Text = "3",Blue, If(TextInput1.Text = "4",Yellow))))

     

    3) Try the app and  change value to 1, 2, 3, 4 and it works to change to 4 different colors based on the nested If Formula.

     

    test-8321-cir-01.gif

     

     

     

    See if you can adapt above simple example to your scenario.

  • Melissa33 Profile Picture
    34 on at

    Also was wondering, I have added a text box over the circle and it is meant to count the number of forms submitted based on the form type and the admission ID.

     

    This is the formula I have been using however it only counts 2 for one of the forms when there are 4 submissions under that submission ID for that type of form

    Count(Distinct(Filter(nestForms, Title=Title7.Text), AdmissionsID))

     

    Title is the Form type and Title7.Text is the name of the form which is listed in a gallery (if that makes sense)

     

    Was wondering if you could help me out.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard