on 09-07-2016 8:13 PM
Im fairly new to Lumira and trying to do a basic calculated dimension and of course, getting an error. I am hoping this is simple and someone can just point out what is wrong with my syntax - it doesn't like my 'in' piece of the syntax. It does fine when its just an equal (=) sign. if {DRG Code} = 34 then "CARDIO" else if {DRG Code} = 36 then "ORTHO" else if {DRG Code} in (35,36,163,164) then "PEDS" else 0 Any thoughts or help are greatly appreciated! Kelly Jacobsma
You should put the options in the IN section within square brackets [ ].
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kelly,
The formula does get long when using if then else condition. The Group by Selection under Data Actions should be able to get the desired results.
Thank you,
Varun Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.