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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to apply the value of the graph dimension to compute a value used on the set analysis.

Hello,

I have computed the following expression:

sum({$<Year=,Month=, Frame=P({1<[Data Type]={V},[Year Month]={"<=$(vDateMax)"}>})-P({1<[Data Type]={B},[Year Month]={"<=$(vDateMax)"}>})>} [Num Frame])

where vDateMax = Max(Year)&Max(Month)

It works well on graphs without Time Dimensions.

I want to plot this expression on a graph with Year and Month as the dimensions. The idea is that the value of the dimension of the graphic just have to influence on the value of the variable vDateMax


But I do not know if it is possible to apply the value of the graph dimension to compute a value used on the set analysis.

any ideas?

Thanks in advance,

0 Replies