Forum Discussion

Justas4478's avatar
Justas4478
Icon for Post Prodigy rankPost Prodigy
1 year ago
Solved

Counting values for day and week

Hi, I am trying to create count measure that count value per store per day.
While my initial count is working it is counting on to wide level. At the moment it count on SKU level which is not result I am trying to get.
Here is how it looks at the moment:

 
As you at the moment store reiceves deliveries every few days and count is counting how many SKUs delivery is made out of.
While that can be usefull, it is not what I need.
I just need to count if there is delivery on that day count should be 1, if there is next delivery on other day count for that day should be 1 as well and the total count for example in the picture would be 3.
Here is what I am trying to get:

 

This is the measure I have at the moment:

Stock Movement Picks Count = CALCULATE(COUNTAX('Stock Movement','Stock Movement'[Stock Movement Picks]),'Date'[Week Start Date]

Let me know if you require data sample.
  • I manage to work out solution that gives me results I am looking for.

    COUNTROWS(SUMMARIZE('Stock Movement','Date'[Date],'Store'[Store Number]))

3 Replies