I’m trying to build a stock availability measure in a dashboard.
Basically I want to initially calculate how many live stock lines are available for sale as a percentage of the total live stock lines.
The next phase would be to extend this to consider the number of weeks cover on a stock line and show the percentage of lines that have sufficient stock rather than just 1’s or 2’s.
Any ideas, I’m presuming I need to use a CASE WHEN but not sure how to get the percentage of all lines to work.