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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating Monthly Average based on the Item Names

I have a monthly average variable and I am wanting to put that into my straight table chart.

The field shows up when I put it in the expression with the correct monthly average for a total of all my item names BUT I want the monthly average to calculate based on the individual names and not adding all the items to get the total monthly average.

5 Replies
MarcoWedel

please post sample data and required result to clarify your request.

thanks

regards

Marco

danieloberbilli
Specialist II
Specialist II

I guess the expression in your variable contains a '='   like   vVariable = '=Avg(Field)'  try tpo remove the '='   -> vVariable ='Avg(Field)'

Not applicable
Author

Below is what it looks like now when I select the InventoryCD. for the monthly average.

Ex 1.PNG

What I want it to look like is...As you can see here when I select one InventoryCD I get the Monthly Average of 126. What I am wanting in the image above is to see that 126 instead of the 2271000 on the line for the item 1070SP.Ex2.PNG

Below is what my Monthly Average variable looks like currently.

Ex3.PNG

Not applicable
Author

Below is what it looks like now when I select the InventoryCD. for the monthly average.

Ex 1.PNG

What I want it to look like is...As you can see here when I select one InventoryCD I get the Monthly Average of 126. What I am wanting in the image above is to see that 126 instead of the 2271000 on the line for the item 1070SP.Ex2.PNG

Below is what my Monthly Average variable looks like currently.Ex3.PNG

Not applicable
Author

When I remove the = sign this ends up showing no data.