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

This widget could not be displayed.

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average per month with a calculated dimension

Hi all QV users,

I've encountered a problem in Qlikview.

I have constructed an ImR chart in Qlikview and used the following expression to calculate the average:

avg(TOTAL aggr(sum(johan),Month))

It works fine but now am I trying to do the same with a calculated dimension instead of Month, this is the dimension I have:

=date(monthstart(Notif_date),'MMM YY')

Does anyone know how I combine these to two? I want to somehow replace Month in the first expression with the calculated dimension above.

Thanks!

This widget could not be displayed.
4 Replies
Not applicable
Author

To make it easier, why don't you add the function "=date(monthstart(Notif_date),'MMM YY')" into your script ?

This way you'll avoid to get a calculated dimension, and your results will be faster ?

Regards,

Sébastien

This widget could not be displayed.
Not applicable
Author

Ok,

how do I add it into my script?

thanks

This widget could not be displayed.
spividori
Specialist
Specialist

Hi,

In the script:

date(monthStart(Notif_date),'MMM YY') as MonthYear

Regards.

This widget could not be displayed.
Not applicable
Author

Thanks!

It solved my problem.

Regards

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.