Hi,
I need to turn on/off a data column in a dashboard table, depending on the value of a variable (eg: if var1 = 1 then ON, if var1=0 then OFF).
I tried different expressions in the visibility setting, but none of them worked.
Could please let ne know what's wrong in this expression?
{IIF({var1}==1)}
Thanks
			
							Expression for data column visibility
Expression for data column visibility
- Attachments
 - 
			
		
				
- Column visibility.png (14 KiB) Viewed 1953 times
 
 
- 
				Lech Kulikowski
 - Posts: 7469
 - Joined: Tue Mar 20, 2018 5:34 am
 
Re: Expression for data column visibility
Hello,
You can use the following expression:
{var1 == 1}
Thank you.
			
			
									
									
						You can use the following expression:
{var1 == 1}
Thank you.
Re: Expression for data column visibility
It worked!
Thanks Lech
			
			
									
									
						Thanks Lech
- 
				Lech Kulikowski
 - Posts: 7469
 - Joined: Tue Mar 20, 2018 5:34 am
 
Re: Expression for data column visibility
Hello,
You are welcome.
			
			
									
									
						You are welcome.