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 / Data Validation on Dat...
Power Apps
Unanswered

Data Validation on DataTable

(0) ShareShare
ReportReport
Posted on by 108

Hi All,

 

My Datasource is- Sharepoint 

I am using Datatable to display few  records in powerapps front screen after updating the records via excel upload . In which i have few columns with datatype "Single Line of Text". 

 

Column 1 - Single Line of Text

Column 2 - Single Line of Text

 

Result of these two columns should be "Yes/No".

 

I need to set a data validation wherever user mentioned other values than "Yes/No" while updating the records. User is not going to update the records one by one. 100+ rows of records updated in excel format and data uploaded using powerapps, power automate flow. For this reason only, keeping the column data type as "Single line of Text". 

 

Here my query is to do the data validation on these columns. Instead of "Yes/No" if any of the column is having incorrect data, then different color code should be applied to the particular row to indicate the user that, format of data is incorrect. 

 

I tried to keep the validation check on "On Select" of particular column in datatable. But unable to find solution. Could anyone please help.

 

 

Categories:
I have the same question (0)
  • mmollet Profile Picture
    3,187 on at

    If you use are using a gallery then each row of the data source will be its own row in the gallery and you can use something like this on the bg fill or border color for that item:

    If(Lower(ThisItem.Col1Value) <> "yes" Or Lower(ThisItem.Col1Value) <> "no", Color.Red, Color.White)

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard