Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikeers
Creator II
Creator II

Average value in stock - aggr?

Hi!

I have stuck to, what seems to be, a simple thing.

I have a table with fields:
- Day (YYYY-MM-DD),
- Month (YYYY-MM),
- ProductID,
- ProductType (two values, 1 or 2),
- Value in stock (for the day).

 

I have created Pivot Table with:

  • Dimensions
    • Row
      • Month
      • ProductType

 

Now I need to create a measure that will show the average value in stock by month and product type (as in PT dimensions). I try with AGGR, but it does not work in any way.

How to do it?

Labels (2)
2 Replies
BrunPierre
Partner - Master
Partner - Master

What sample data do you have and what result do you expect?

agigliotti
Partner - Champion
Partner - Champion

Hi @qlikeers ,

Why not using simple Avg(Value in stock) ?