ForAll function in Power apps

Loading

Requirement: ForAll function in power apps

Create a Collection, Add Button to the screen. Then add Data Table then on Items Property call the function, For all the records of the input table, calculates the square root of the Value column. The Sqrt function can also be used with a single-column table, making it possible perform this example without using ForAll.

On Button- OnSelect Property: 

ClearCollect(colCustomTest, ["13","15","17"])

Data Table- Items Property:

ForAll(colCustomTest,Sqrt(Value))

Leave a Reply

Your email address will not be published. Required fields are marked *