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

Announcements
Solving the Informatica Dilemma: On-Demand Briefing - Watch On Demand!
cancel
Showing results for 
Search instead for 
Did you mean: 
akuttler
Creator
Creator

Average Weekly for Specific Year

Hello,

I keep getting an error for the expression:

(Sum({<ITEMTYPE={'C'},Year={2017}>}Trans))/(Count(Distinct DATE({<Year={2017}>}WeekYear)))

Fields names ITEMTYPE= 'C' refers to Charges

Trans =Transactions


I am trying to get the Average Weekly Charges for 2017.

Thanks in advance.

1 Reply
OmarBenSalem

what is this DATE doing here?

Count(Distinct DATE({<Year={2017}>}WeekYear)