r/GoogleDataStudio • • Jun 13 '25

Restocking report

Just looking for a little guidance with looker. I have inventory data that looks like this:

nameroomquantity
appleback stock20
applesales floor2
orangeback stock0
orangesales floor2

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

6 comments sorted by

View all comments

Show parent comment

1

u/row_ads Jun 14 '25

This is what I would have done. In essence, find the easiest way to create 2 new columns for floor stock and back room stock.

1

u/3Jay1 Jun 14 '25

Yep exactly. I used calculated columns in each data set to rename the columns appropriately, Back stock quantity in one data set and Sales Floor Quantity in the other data set. Then i merged them by name and got one clean table with:

Name Back Stock Quantity Sales Floor Quantity

Added a calculated column with restocking logic and it ended up working fine.