cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Data validation before writing to excel

What would be the best method in validating data from an excel sspreadsheet through power apps?

5 REPLIES 5
Shanescows
Super User
Super User

Try this video: PowerApps Conditional Formatting and Popups

 

I show you how to use IsMatch() function to do some validation and how to pop up warning text if they get things wrong.

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Anonymous
Not applicable

Thank you.

 Does the IsMatch or Match Function go through the table to verify if the input already exist?

Nope. In that case I would create some logic that does a Lookup in the table for the new value. If your lookup comes back IsEmpty then you know you are all set.

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Anonymous
Not applicable

Could send an example?

I am too kind. 😛 

 

If(IsEmpty(LookUp(DataSourceToCheck, ColumnToCheck = TextInput1.Text)),"It doesn't exist","It does exist")

 

Does that help? 🙂 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,538)