Forum Discussion
webportal
Impactful Individual
5 years agoGet the minimum value of multiple variables
MyColumn = VAR1 = ... VAR2 = ... VAR3 = ... VAR4 = ... I want to get the minimum value of all these variables excluding empty values. MIN only takes two arguments. Nesting is boring. ...
- 5 years ago
Hi webportal
Yes it can handle that.
Measure = VAR a = 8 VAR b = BLANK() VAR c = 21 VAR d = 5 VAR tab = {(a),(b),(c),(d)} RETURN MINX(tab,[Value])Regards
Phil
webportal
Impactful Individual
5 years agoPhilipTreacy
Super User
5 years agoHi webportal
Yes it can handle that.
Measure =
VAR a = 8
VAR b = BLANK()
VAR c = 21
VAR d = 5
VAR tab = {(a),(b),(c),(d)}
RETURN MINX(tab,[Value])
Regards
Phil