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: 
sudhir0538
Creator
Creator

Including a variable in Set analysis Expression

Hi all

Please help me to correct these two not given any result but error set analysis expression.

1)=Avg({<IMQ.Date={$(=vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])

2)=Avg({<IMQ.Date={$(vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])

Please help me to resolve this.

Variable vs_Today holds today date.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try it like this: Avg({<IMQ.Date={$(vs_Today)},IMQ.Shift={'A'}>}[IMQ.DOLOMITE_Sieve_  -10mm])


talk is cheap, supply exceeds demand
sudhir0538
Creator
Creator
Author

Hai Gysbert!

Thanks for your helpful answer. Both the expressions which I have mentioned are working fine,At the time of posting I didn't have the date data in my source, so it's gave nothing.

Thanks again Gysbert.