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 / Highlight form field i...
Power Apps
Unanswered

Highlight form field if different than previous form by X%.

(0) ShareShare
ReportReport
Posted on by 25

You may recognize a continuation on a this app we are building.  We are collecting daily readings for 200+ values in a large flat file.  I would like a method to highlight the value the operator enters if it varies from the previous daily ready by some percentage, say 10%.  

 

I have found this reference, but it would require for me to write this on all 200+ fields and edit the referenced column name.  Is there a way I can perform this for all fields by referencing the fields data field name dynamically so I can use the same code on each field? 

 

https://powerusers.microsoft.com/t5/General-Discussion/Compare-ThisItem-vs-Column/td-p/4378 

 

Alternatively, I would be good with creating a new collection of only the columns with values that are significantly different than the prior reading using forall.  I would then just display the table with a preference of a vertical orientation (see other post: https://powerusers.microsoft.com/t5/General-Discussion/transform-view-of-data-table/m-p/211544#M67521)

 

image.png

Categories:
  • Mr-Dang-MSFT Profile Picture
    Microsoft Employee on at

    It sounds like you want to apply conditional formatting to each value. 

    • You want to compare a given reading to the previous day's reading and color it if it varies by a certain amount.
    • You want to reuse a formula for conditional formatting since you have >200 values to configure
    • You would be open to creating a new collection
  • bjdshp Profile Picture
    25 on at

    Correct, that is a summary of my goal.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard