Welcome to the Qlik Sense forums and to using Qlik Sense.
Brian is suggesting you use what is called a Set Analysis expression, in which he provided an example. Set Analysis allows you to lock a measure to a specific set of data such as PrioID=1, etc.
You can learn more about Set Analysis an other topics here:
Here are two you may be interested in:
Please let us know how else we can help.
Please mark the appropriate replies as CORRECT / HELPFUL so our team and other members know that your question(s) has been answered to your satisfaction.