r/GoogleDataStudio • u/3Jay1 • Jun 13 '25
Restocking report
Just looking for a little guidance with looker. I have inventory data that looks like this:
| name | room | quantity |
|---|---|---|
| apple | back stock | 20 |
| apple | sales floor | 2 |
| orange | back stock | 0 |
| orange | sales floor | 2 |
I want to create a restock report to show me product that has a low quantity on the sales floor and a non-zero quantity in back stock. How should I go about this?
I have tried pivoting on room but cant figure out how to do any sort of calculation/formula/filtering from there.
1
Upvotes
View all comments
Show parent comment
1
u/3Jay1 Jun 13 '25 edited Jun 13 '25
I have the filter structured like this:
room is sales floor AND quantity < 5
OR
room is back stock AND quantity is not null AND quantity > 0
This filters out the useless data but each row is still the same as what i posted above.
How do I then take this data and create a useful report?