Hi,
I have a field from Datasource that is a boolean.
I want to write and display "START" when this field is 1, otherwise "STOP".
How i can do? I done this with calculated field and variables, but i don't think is the right solution.
Does i display it with an "Indicator" component?
Boolean value to string
-
- Posts: 1
- Joined: Thu Feb 15, 2024 1:22 pm
-
- Posts: 6433
- Joined: Tue Mar 20, 2018 5:34 am
Re: Boolean value to string
Hello,
As a way, you can add a calculated column with the expression:
IIF(datasourcename.columnname == 1, "START", "STOP")
And the use this variable.
Thank you.
As a way, you can add a calculated column with the expression:
IIF(datasourcename.columnname == 1, "START", "STOP")
And the use this variable.
Thank you.