Forum Discussion

BrandonG's avatar
BrandonG
New Member
3 years ago
Solved

Inventory Count from Count in a Date Range

I have two tables, Date and Inventory. Inventory is a distinct look at inventory with a New date and Sold Date attached. Is there a way to take the Date from the Date Table and count how many times it shows up in the New and Sold ranges. This will give me how much was in inventory on those days.

 

Inventory Table

IDNewSold
478836026.23.20227.01.2022
416225227.01.20227.01.2022
451818825.20.20227.02.2022
481053027.01.20227.03.2022
438555726.08.20227.05.2022
503162426.30.20227.05.2022
503010827.01.20227.05.2022
503968727.01.20227.05.2022
501378627.05.20227.05.2022
412364325.16.2022

7.06.2022

 

If I look at date 6/08 it would show 3 in inventory, 7/01/2022 would show 9 in inventory

4 Replies

  • You can try just use a simple matrix with [New] as a row, and then the count of [New] as the value. And then do the same for Sold.