Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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 II
Partner - Master II

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

agigliotti
MVP
MVP

Hi @qlikeers ,

Why not using simple Avg(Value in stock) ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it