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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
bazzaonline
Creator
Creator

Calculated Average Dimension

Hello All,

I would like to draw a graph which has two average lines on.  One a simply average invoice amount per month - eg =Avg(InvoiceAmount)

The second I want to be the average invoice amount except for ones of £25.  (so to not include invoices for a £25 fee only).

EG - Invoice 1 - £100, Invoice 2 - £80, Invoice 3 - £25 = ( £100 + £80 ) / 2 = £90.

Any help welcomed???

5 Replies
anbu1984
Master III
Master III

Check this

bazzaonline
Creator
Creator
Author

??  What ??

wernerprovelu
Partner - Contributor II
Partner - Contributor II

Or use set analysis:

Avg({<Amt = -{25}>} Amt)

anbu1984
Master III
Master III

There is prob in community. I attached qvw in my previous post which I can see it.

Re-attaching qvw

jyothish8807
Master II
Master II

Hi Paul,

Go to presentation tab.In reference line option add two expression.

1. Avg(Amt)

2 Avg({Amt-={'25'}>}Amt)

Regards

KC

Best Regards,
KC