Hey!
I have a case statement below for inventory to create a pie graph.
Case
WHEN `AVAILABLE_COUNT` <= 20 THEN 'Out of Stock'
WHEN `AVAILABLE_COUNT` >= 40 THEN 'Sufficient Stock'
Else 'Low levels'
End
The only problem is that I have 2 warehouses I included as filters. However, when the data populates it separates the two locations as different entity and counts it separately.
If warehouse A has inventory, but warehouse B has no inventory, then it counts for two status.
Even if both warehouses have inventory, it still counts as two status because of location.
I want to have the total inventory counted as one status in both warehouses.
Sorry, if this is confusing. Let me know if you need any clarifications.
What should include in this beast mode calcuation?
Thanks!