Forum Discussion
cottrera
Post Prodigy
4 years agoDAX scoring if column values between set criteria
Hi I have a property table of about 1.5 million rows. Each row has a risk score based wehter a dangerios material (Asbestos) has been located or not. The table contains the following columns - Prop...
- 4 years ago
Hi Richard,
You might try this:Risk Category = var risk_score=[Risk Score] return SWITCH(TRUE(), [NETOF2]=0,"No Asbestos", AND(risk_score>=1,risk_score<=8),"Low", AND(risk_score>=9,risk_score<=15),"Medium", AND(risk_score>=16,risk_score<=24),"High")
Hope it will be helpful.
Regards,
Marc
cottrera
Post Prodigy
4 years agoThank you Mark this works perfectly. I accidently tried adding it a measure and not a measure columns 😀👍