I have a powerapp that is connecting to a Excel spreadsheet. One of the columns in the sheet uses TRUE/FALSE values. I would like to use this as a boolean to limit some of the functionalities in my app but I can't convert the text to a Boolean data type. I've looked through the functions but I couldn't find anything. Is there a trick that I should be using?
Solved! Go to Solution.
The following should work:
If(Lower(Your_Text)="false", false, true)
I prefer this solution since it's less code. Assuming your text values will either be true or false.
Set Default: Value(ThisItem)
@Anonymous strange. For me this doesn't work if the text is "false". I tried it with a simple text_input control and a toggle button.
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
216 | |
180 | |
138 | |
96 | |
73 |