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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
brunolelli87
Creator II
Creator II

Average with Set analysis

Hello guys, 
I'm trying to create a chart with Date as Dimension and the following expression:

=avg({1 <STCK={'CVCB3'}, DVPG={'> 03/01/2020'}>} VDAF)


I don't know why but it's not working, it shows NO DATA TO DISPLAY,  but I'm sure there are available data to display. 

My intention is to create a chart where Date (DVPG) is a dimension, and the expression is the average of VDAF values, from 03/01/2020 up to today!

How can I do it?

Thanks

Labels (1)
13 Replies
Saravanan_Desingh
MVP
MVP

One more to try:

=avg({1 <STCK={'CVCB3'}, DVPG={">$(=Date(Addmonths(Today(), -3)))"}>} VDAF)
Saravanan_Desingh
MVP
MVP

=avg({1 <STCK={'CVCB3'}, DVPG={"$(='>'&Date(Addmonths(Today(), -3),'MMDDYYYY'))"}>} VDAF)
brunolelli87
Creator II
Creator II
Author

Thanks for all your assistance.

This one is working perfectly!

 

Saravanan_Desingh
MVP
MVP

you welcome