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 / Changing formatting ba...
Power Apps
Unanswered

Changing formatting based on data column choices

(0) ShareShare
ReportReport
Posted on by 4

I want to create an app that takes ID as Text Input and search that ID in the connected SharePoint List. There are certain elements like rectangle and icons whose formatting I want to change based on the column values of the record that we searched up using ID. Mainly I want to make icon1 visible if column1 has value YES and invisible in the other case. The other thing I want to change is fill color of a rectangle based on the column2 values (more than two values). Both these columns are of Choice type in SharePoint List.

 

I tried creating a Data Table and filtered its values based on Text Input value on ID column. But I don't know how to reference the filtered values to change formatting of rectangle and icon elements

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Are you able to please elaborate by providing a screenshot?

  • uncharted_9 Profile Picture
    4 on at

    There are 12 columns in the data set and 12 elements in the form of icon or rectangle. I want to make icons visible or invisible based on YES/NO values and rectangle color changed based on the particular model ID we have in the Text Input.

    WhatsApp Image 2022-09-28 at 10.14.06.png
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    LookUp(DataTableName,ID=YourdRecordId).FieldName

  • uncharted_9 Profile Picture
    4 on at

    I am trying this formula for Visible property of the icon.

    model_stage_cv is the name of the sharepoint list connected with the powerapp

     

    If(LookUp(model_stage_cv.'Model ID' = modelInput.Text).'Findings 1' = 'YES', true, false)

     

    But this seems to be having errors

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard