Hi folks, I probably should be able to work this out but its got me stumped. Any pointers gratefully accepted.
I’m trying to set up a risk matrix. One axis is Likelihood, One axis is Impact. Depending on where they intersect we derive the risk rating. Something like this:
I need a way for a user to enter Likelihood (L, M, H) and Impact (L,M, H) which will give risk rating of LOW, MEDIUM or HIGH. e.g. L Likelihood & H Impact >> MEDIUM (bottom right corner)
I’m stumped with how to set this up in Knack. I know I could set up a field with some really ugly and longwinded validation rules, but is there a smarter way by using connected tables or similar?
We assign a value of 1-5 for the Likelihood and 1-5 for the Impact and multiply those values for the Risk rating so that 5 x 5 = 25 or Critical or 1 x 1 = 1 or Low. You’ll just need to work out your bands for the 4 levels you have.
Depending on the user requirements you might work it the other way and assign values to Low, Medium, High, & Critical Likelihood & Impact buttons for them to select which will calculate the risk and display the appropriate Risk rating button/icon.
Ok, after reading through a bunch of old posts and watching one of Carl’s videos, I got there.
Just describing what I did in case it helps someone else later. Its not all that intuitive, but it works.
Create a simple one column table called LIKELIHOOD - add three (short text) rows Low Med High
Create a table called IMPACT & RATING. Connect it to LIKELIHOOD. Display is IMPACT.
Create 9 rows, so that it looks like:
|short text|connection|short text|
Impact (short text)
Likelihood (connection)
Risk Rating (short text)
Low
Low
LOW
Low
Med
LOW
Low
High
MEDIUM
Med
Low
LOW
Med
Med
MEDIUM
Med
High
HIGH
High
Low
MEDIUM
High
Med
HIGH
High
High
CRITICAL
Then create the RISKS table with (at least) 4 columns:
Risk Name (short text)
Likelihood (connection to LIKELIHOOD)
Impact (connection to IMPACT & RATING)
Risk Rating (short text)
Then on the associated add or edit form for RISKS, use cascading drop downs
LIKELIHOOD (from Likelihood table, all options)
IMPACT (from IMPACT & RATING, connected to this forms LIKELIHOOD)
Convoluted but it works. And it isn’t buried in some formula that requires access to the builder to change - this can be made available to an admin user to adjust as they wish, including expanding it to a bigger grid if needed.